PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void out_gml2_extent ( void  )
static

Definition at line 936 of file cu_out_gml.c.

References do_gml2_extent_test().

Referenced by out_gml_suite_setup().

937 {
938  /* GML2: Point */
940  "POINT(-15 60)",
941  "<Box><coordinates>-15,60 -15,60</coordinates></Box>",
942  NULL, 15, "");
944  "POINT(-15 60)",
945  "<gml:Box><gml:coordinates>-15,60 -15,60</gml:coordinates></gml:Box>",
946  NULL, 15, "gml:");
948  "POINT(-15 60)",
949  "<Box srsName=\"urn:ogc:def:crs:EPSG::4326\"><coordinates>-15,60 -15,60</coordinates></Box>",
950  "urn:ogc:def:crs:EPSG::4326", 15, "");
951 
952  /* GML2: Multipoint */
954  "MULTIPOINT(2 3, -5 -6)",
955  "<Box><coordinates>-5,-6 2,3</coordinates></Box>",
956  NULL, 15, "");
957 
958  /* GML2: Linestring */
960  "LINESTRING(0 1,2 3,4 5)",
961  "<Box><coordinates>0,1 4,5</coordinates></Box>",
962  NULL, 15, "");
963 
964  /* GML2: MultiLinestring */
966  "MULTILINESTRING((0 1,2 3),(4 5, 10 6))",
967  "<Box><coordinates>0,1 10,6</coordinates></Box>",
968  NULL, 15, "");
969 
970  /* GML2: Polygon */
972  "POLYGON((1 7,7 14, 14 7, 1 7))",
973  "<Box><coordinates>1,7 14,14</coordinates></Box>",
974  NULL, 15, "");
975 
976  /* GML2: MultiPolygon */
978  "MULTIPOLYGON(((1 7,7 14, 14 7, 1 7)),((-4 -6, -15 3, 0 0, -4 -6)))",
979  "<Box><coordinates>-15,-6 14,14</coordinates></Box>",
980  NULL, 15, "");
981 
982  /* GML2: MultiSurface */
984  "MULTISURFACE(CURVEPOLYGON(CIRCULARSTRING(-2 0,-1 -1,0 0,1 -1,2 0,0 2,-2 0),(-1 0,0 0.5,1 0,0 1,-1 0)),((7 8,10 10,6 14,4 11,7 8)))",
985  "<Box><coordinates>-2,-1 10,14</coordinates></Box>",
986  NULL, 15, "");
987 
988  /* GML2: empty */
990  "GEOMETRYCOLLECTION EMPTY",
991  "<Box/>",
992  NULL, 15, "");
993 
994  /* GML2: empty with srsName */
996  "GEOMETRYCOLLECTION EMPTY",
997  "<Box srsName=\"urn:ogc:def:crs:EPSG::4326\"/>",
998  "urn:ogc:def:crs:EPSG::4326", 15, "");
999 
1000 }
static void do_gml2_extent_test(char *in, char *out, char *srs, double precision, char *prefix)
Definition: cu_out_gml.c:171

Here is the call graph for this function:

Here is the caller graph for this function: