PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ out_gml2_extent()

static void out_gml2_extent ( void  )
static

Definition at line 872 of file cu_out_gml.c.

873{
874 /* GML2: Point */
876 "POINT(-15 60)",
877 "<Box><coordinates>-15,60 -15,60</coordinates></Box>",
878 NULL, 15, "");
880 "POINT(-15 60)",
881 "<gml:Box><gml:coordinates>-15,60 -15,60</gml:coordinates></gml:Box>",
882 NULL, 15, "gml:");
884 "POINT(-15 60)",
885 "<Box srsName=\"urn:ogc:def:crs:EPSG::4326\"><coordinates>-15,60 -15,60</coordinates></Box>",
886 "urn:ogc:def:crs:EPSG::4326", 15, "");
887
888 /* GML2: Multipoint */
890 "MULTIPOINT(2 3, -5 -6)",
891 "<Box><coordinates>-5,-6 2,3</coordinates></Box>",
892 NULL, 15, "");
893
894 /* GML2: Linestring */
896 "LINESTRING(0 1,2 3,4 5)",
897 "<Box><coordinates>0,1 4,5</coordinates></Box>",
898 NULL, 15, "");
899
900 /* GML2: MultiLinestring */
902 "MULTILINESTRING((0 1,2 3),(4 5, 10 6))",
903 "<Box><coordinates>0,1 10,6</coordinates></Box>",
904 NULL, 15, "");
905
906 /* GML2: Polygon */
908 "POLYGON((1 7,7 14, 14 7, 1 7))",
909 "<Box><coordinates>1,7 14,14</coordinates></Box>",
910 NULL, 15, "");
911
912 /* GML2: MultiPolygon */
914 "MULTIPOLYGON(((1 7,7 14, 14 7, 1 7)),((-4 -6, -15 3, 0 0, -4 -6)))",
915 "<Box><coordinates>-15,-6 14,14</coordinates></Box>",
916 NULL, 15, "");
917
918 /* GML2: MultiSurface */
920 "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)))",
921 "<Box><coordinates>-2,-1 10,14</coordinates></Box>",
922 NULL, 15, "");
923
924 /* GML2: empty */
926 "GEOMETRYCOLLECTION EMPTY",
927 "<Box/>",
928 NULL, 15, "");
929
930 /* GML2: empty with srsName */
932 "GEOMETRYCOLLECTION EMPTY",
933 "<Box srsName=\"urn:ogc:def:crs:EPSG::4326\"/>",
934 "urn:ogc:def:crs:EPSG::4326", 15, "");
935
936}
static void do_gml2_extent_test(char *in, char *out, char *srs, double precision, char *prefix)
Definition cu_out_gml.c:109

References do_gml2_extent_test().

Referenced by out_gml_suite_setup().

Here is the call graph for this function:
Here is the caller graph for this function: