[postgis-tickets] [PostGIS] #3719: Error: Invalid number of points in LinearRing

PostGIS trac at osgeo.org
Thu Mar 22 11:21:02 PDT 2018


#3719: Error: Invalid number of points in LinearRing
-------------------------+-----------------------------
  Reporter:  tiiipponen  |      Owner:  pramsey
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS Fund Me
 Component:  postgis     |    Version:  2.3.x
Resolution:              |   Keywords:
-------------------------+-----------------------------

Comment (by strk):

 2 and 3 would make sense as being a "minimum".
 6 would be just arbitrary. Accuracy for an arc
 really depends on the arc size.

 6 segments on a 1e-15 degrees arc could be too much
 (even 2 segments could be too much in that case).

 If you want more segments in a circle we could
 set not a minimum number of segments per arc but
 per arc-or-quadrant. So if the minimum is 2 you
 would have at least 8 segments for a ricle (2*4)

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3719#comment:22>
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