[postgis-tickets] [PostGIS] #3719: Error: Invalid number of points in LinearRing
PostGIS
trac at osgeo.org
Thu Jun 29 02:33:51 PDT 2017
#3719: Error: Invalid number of points in LinearRing
-------------------------+---------------------------
Reporter: tiiipponen | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.4.0
Component: postgis | Version: 2.3.x
Resolution: | Keywords:
-------------------------+---------------------------
Comment (by strk):
The curved part of the ring is almost a line. Default linearization using
32 segments-per-quadrant end up approximating it with a single straight
line.
I guess the fix here would be to enforce a minimum of 2 segments for any
non-closed curve and 3 segments for a circle. Dunno if that should be the
default or a parametric configuration.
The work done in #3772 could help in that it allows specifying
linearization constraints in different ways and allows specifying a flag,
but there's no specific flag to ensure at least 2 segments are used per-
curve.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3719#comment:4>
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