Opened 15 years ago
Closed 15 years ago
#437 closed defect (invalid)
Nested GeometryCollection with ST_AsSVG not handle
Reported by: | colivier | Owned by: | colivier |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | ST_AsSVG GeometryCollection | Cc: |
Description
St_AsSVG not handle nested GeometryCollection (only care about first GEOMETRYCOLLECTION)
"GEOMETRYCOLLECTION(POINT(0 1),GEOMETRYCOLLECTION(LINESTRING(2 3,4 5)))"
Should produce:
cx="0" cy="-1";M 2 -3 L 4 -5
Rather than:
cx="0" cy="-1"
1.4 and 1.5 should also be impacted
Note:
See TracTickets
for help on using tickets.
In fact ST_AsSVG never handled Nested GeometryCollection. An error message is thrown on such a case.
Update the cunit test case as r5316