[postgis-devel] [PostGIS] #846: Cleaning up around and enhance point in polygon tests around the code

PostGIS trac at osgeo.org
Sun May 8 05:25:14 PDT 2011

#846: Cleaning up around and enhance point in polygon tests around the code
 Reporter:  nicklas      |       Owner:  nicklas      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  

Comment(by nicklas):

 This one was a little harder than I thought. What I wanted to do as
 described above was to merge the point in polygon functions related to
 distance and the one related to intersects.

 The problem is that the intersects version has implemented a tolerance
 which is not used in the distance version. The tolerance implementation
 seems not to be robust as described in #852. Because of that I don't want
 to get that into the distance-calculations and I don't dare removing it
 from the intersects calculations because I have difficulties to see all
 the consequences.

 I am afraid that this is quite a big discussion hiding here about how to
 or how to not handle tolerances. We meet the problems of tolerance in many
 parts of the code and maybe it gets even more important when getting to 3D
 when we have the problem of coplanar polygons and linestrings.

 So, can anyone guide me. Should we just move it to "future" or close the
 ticket as won't fix or should we find a strategy for tolerance that can be
 used all over PostGIS (in this case both distance and intersects)

Ticket URL: <http://trac.osgeo.org/postgis/ticket/846#comment:8>
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-devel mailing list