mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 09:32:46 +00:00
bbox only bother about external ring. add the related cunit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@5285 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
147a101d25
commit
4db9d9c395
|
@ -211,13 +211,11 @@ void out_geojson_test_bbox(void)
|
|||
"{\"type\":\"Polygon\",\"bbox\":[0,1,4,5],\"coordinates\":[[[0,1],[2,3],[4,5],[0,1]]]}",
|
||||
NULL, 0, 1);
|
||||
|
||||
#if 0
|
||||
/* Polygon - with internal ring */
|
||||
do_geojson_test(
|
||||
"POLYGON((0 1,2 3,4 5,0 1),(6 7,8 9,10 11,6 7))",
|
||||
"{\"type\":\"Polygon\",\"bbox\":[0,1,10,11],\"coordinates\":[[[0,1],[2,3],[4,5],[0,1]],[[6,7],[8,9],[10,11],[6,7]]]}",
|
||||
"{\"type\":\"Polygon\",\"bbox\":[0,1,4,5],\"coordinates\":[[[0,1],[2,3],[4,5],[0,1]],[[6,7],[8,9],[10,11],[6,7]]]}",
|
||||
NULL, 0, 1);
|
||||
#endif
|
||||
|
||||
/* Multiline */
|
||||
do_geojson_test(
|
||||
|
|
Loading…
Reference in a new issue