[postgis-tickets] [PostGIS] #2295: ST_DumpPoints doesn't support curved geometries
PostGIS
trac at osgeo.org
Fri May 3 21:18:30 PDT 2013
#2295: ST_DumpPoints doesn't support curved geometries
---------------------+------------------------------------------------------
Reporter: robe | Owner: nw
Type: defect | Status: assigned
Priority: medium | Milestone: PostGIS 2.1.0
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by nw):
I think the attached patch should provide support for dumping
circstrings. I looked over the defined geometry types in
lwgeom.h, and there are fifteen, ten of those are collection
types. Dumppoints now has support for the remaining five
directly, and will treat as a collection anything that
lwgeom_is_collection() thinks is one. In other words, unless
I have missed something, ST_DumpPoints should now produce
reasonable results for all geometry types. Geography types are
still not supported, but you could cast to geom first.
I changed the regression tests as appropriate. I will eventually
submit a more comprehensive dumppoints test suite, but I don't know
when I will get to that.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2295#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list