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

PostGIS trac at osgeo.org
Fri Mar 23 02:54:39 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 tiiipponen):

 I actually mean with accuracy also that in many cases we use topological
 queries like point in polygon and in many applications the point is
 created near edge of the polygon. \\
 For example with simple arithmetics we can see that \\
 equilateral triangle inside circle covers 20.7% of the circle and \\
 equilateral hexagon inside circle covers 82.7% of the circle. \\
 By putting more segments, we help "point in polygon"-queries to get more
 reliable results. And the same thing applies to polygons with short arcs
 too. \\
 Theoretically speaking... \\
 This is maybe not problem in real world, but if there is no extra cost,
 then why not.

 And as you say, very short arcs needs same special handling if they have
 six or two segments. And in our case, so short arcs are so rare, that they
 can be edited away by hand if needed.

 Putting this "per arc-or-quadrant" can be ok.

 But as I said, you have freedom to do, what you think is easiest and best
 way to do. It is ok to me.

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