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

◆ out_svg_test_relative()

static void out_svg_test_relative ( void  )
static

Definition at line 237 of file cu_out_svg.c.

238{
239 /* Linestring */
241 "LINESTRING(0 1,2 3,4 5)",
242 "M 0 -1 l 2 -2 2 -2",
243 0, 1);
244
245 /* Polygon */
247 "POLYGON((0 1,2 3,4 5,0 1))",
248 "M 0 -1 l 2 -2 2 -2 z",
249 0, 1);
250
251 /* Polygon - with internal ring */
253 "POLYGON((0 1,2 3,4 5,0 1),(6 7,8 9,10 11,6 7))",
254 "M 0 -1 l 2 -2 2 -2 z M 6 -7 l 2 -2 2 -2 z",
255 0, 1);
256
257 /* MultiPoint */
259 "MULTIPOINT(0 1,2 3)",
260 "x=\"0\" y=\"-1\",x=\"2\" y=\"-3\"",
261 0, 1);
262
263 /* MultiLine */
265 "MULTILINESTRING((0 1,2 3,4 5),(6 7,8 9,10 11))",
266 "M 0 -1 l 2 -2 2 -2 M 6 -7 l 2 -2 2 -2",
267 0, 1);
268
269 /* MultiPolygon */
271 "MULTIPOLYGON(((0 1,2 3,4 5,0 1)),((6 7,8 9,10 11,6 7)))",
272 "M 0 -1 l 2 -2 2 -2 z M 6 -7 l 2 -2 2 -2 z",
273 0, 1);
274
275 /* GeometryCollection */
277 "GEOMETRYCOLLECTION(POINT(0 1),LINESTRING(2 3,4 5))",
278 "x=\"0\" y=\"-1\";M 2 -3 l 2 -2",
279 0, 1);
280}
static void do_svg_test(char *in, char *out, int precision, int relative)
Definition cu_out_svg.c:20

References do_svg_test().

Referenced by out_svg_suite_setup().

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