Opened 13 years ago
Closed 13 years ago
#1744 closed defect (invalid)
ST_AsSVG doesn't comforms w3c standards completely for relative coords
Reported by: | Ferdev | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.1 |
Component: | postgis | Version: | 2.0.x |
Keywords: | Cc: |
Description
Passing 1 as second argument to have the path data implemented as relative movements, should express path commands in lowercase instead of uppercase, as stated in http://www.w3.org/TR/SVG/paths.html#PathDataBNF
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Movement is always absolute, but lineTo is relative:
select ST_AsSVG('MULTILINESTRING((0 0, 10 0),(10 0, 20 0))'::geometry, 1); M 0 0 l 10 0 M 10 0 l 10 0 }} I don't see that being forbidden by w3c standard
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Alright then, this ticket is invalid (the output does conform)
Note:
See TracTickets
for help on using tickets.
Do you have an example WKT resulting in malformed SVN ? We have some relative paths under regression testing, which means they should be working, like these:
Second one is "relative" form of first one, WKT of which is: