[postgis-tickets] [PostGIS] #2428: Add a "perQuadrant" parameter to ST_LineToCurve
PostGIS
trac at osgeo.org
Wed Aug 14 00:36:51 PDT 2013
#2428: Add a "perQuadrant" parameter to ST_LineToCurve
-------------------------+--------------------------------------------------
Reporter: strk | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
ST_CurveToLine has a parameter to request a number of edges per circle
quadrant. For symmetricity the same parameter should be accepted by
ST_LineToCurve to control the minimum number of edges per quadrant
required to define a curve. See also #2407
NOTE: this change affects liblwgeom interface which may be changed
(cleaner) or augmented (only worth to retain backward compatibility).
The relevant liblwgeom interface is:
{{{
lwgeom_desegmentize(LWGEOM *);
lwgeom_segmentize(LWGEOM *, uint32_t);
}}}
My suggestion is to change lwgeom_desegmentize to also take an uint32_t
(backward incompatible change).
Wouldn't 2.1 be a perfect moment for this ? :)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2428>
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