[postgis-tickets] [PostGIS] #3113: Add curve support to ST_Simplify

PostGIS trac at osgeo.org
Fri May 8 05:26:27 PDT 2015


#3113: Add curve support to ST_Simplify
-------------------------+---------------------------
 Reporter:  aaime        |      Owner:  pramsey
     Type:  enhancement  |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 2.1.8
Component:  postgis      |    Version:  2.1.x
 Keywords:               |
-------------------------+---------------------------
 Currently ST_Simplify does not support geometries with circular segments,
 extend it so that it does.

 Intuitively, it would seems that the function should check internally if
 the geometry is curved, if so, first call ST_CurveToLine and then simplify
 as usual. The tricky part is probably to figure out the right amount of
 segments per quarter of circle, I guess one would have to walk the
 geometry, locate the circle with the biggest radius, find the number of
 segments that makes the linearization error smaller than the
 simplification tolerance, and then simplify.
 Or... just have some code that does the determination arc of circle by arc
 of circle, which is going be more efficient in term of number of generated
 points.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3113>
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