PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ out_gml2_extent()

static void out_gml2_extent ( void  )
static

Definition at line 922 of file cu_out_gml.c.

References do_gml2_extent_test().

Referenced by out_gml_suite_setup().

923 {
924  /* GML2: Point */
926  "POINT(-15 60)",
927  "<Box><coordinates>-15,60 -15,60</coordinates></Box>",
928  NULL, 15, "");
930  "POINT(-15 60)",
931  "<gml:Box><gml:coordinates>-15,60 -15,60</gml:coordinates></gml:Box>",
932  NULL, 15, "gml:");
934  "POINT(-15 60)",
935  "<Box srsName=\"urn:ogc:def:crs:EPSG::4326\"><coordinates>-15,60 -15,60</coordinates></Box>",
936  "urn:ogc:def:crs:EPSG::4326", 15, "");
937 
938  /* GML2: Multipoint */
940  "MULTIPOINT(2 3, -5 -6)",
941  "<Box><coordinates>-5,-6 2,3</coordinates></Box>",
942  NULL, 15, "");
943 
944  /* GML2: Linestring */
946  "LINESTRING(0 1,2 3,4 5)",
947  "<Box><coordinates>0,1 4,5</coordinates></Box>",
948  NULL, 15, "");
949 
950  /* GML2: MultiLinestring */
952  "MULTILINESTRING((0 1,2 3),(4 5, 10 6))",
953  "<Box><coordinates>0,1 10,6</coordinates></Box>",
954  NULL, 15, "");
955 
956  /* GML2: Polygon */
958  "POLYGON((1 7,7 14, 14 7, 1 7))",
959  "<Box><coordinates>1,7 14,14</coordinates></Box>",
960  NULL, 15, "");
961 
962  /* GML2: MultiPolygon */
964  "MULTIPOLYGON(((1 7,7 14, 14 7, 1 7)),((-4 -6, -15 3, 0 0, -4 -6)))",
965  "<Box><coordinates>-15,-6 14,14</coordinates></Box>",
966  NULL, 15, "");
967 
968  /* GML2: MultiSurface */
970  "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)))",
971  "<Box><coordinates>-2,-1 10,14</coordinates></Box>",
972  NULL, 15, "");
973 
974  /* GML2: empty */
976  "GEOMETRYCOLLECTION EMPTY",
977  "<Box/>",
978  NULL, 15, "");
979 
980  /* GML2: empty with srsName */
982  "GEOMETRYCOLLECTION EMPTY",
983  "<Box srsName=\"urn:ogc:def:crs:EPSG::4326\"/>",
984  "urn:ogc:def:crs:EPSG::4326", 15, "");
985 
986 }
static void do_gml2_extent_test(char *in, char *out, char *srs, double precision, char *prefix)
Definition: cu_out_gml.c:150
Here is the call graph for this function:
Here is the caller graph for this function: