[postgis-devel] [PostGIS] #845: ST_Intersects() precision error - returns false instead of true

PostGIS trac at osgeo.org
Thu Feb 24 05:41:06 PST 2011


#845: ST_Intersects() precision error - returns false instead of true
------------------------+---------------------------------------------------
 Reporter:  cdestigter  |       Owner:  pramsey      
     Type:  defect      |      Status:  new          
 Priority:  medium      |   Milestone:  PostGIS 2.0.0
Component:  postgis     |     Version:  1.5.X        
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by nicklas):

 Unused?

 No, it is used in 2d distance calculations.

 That is no big problem, but all cases (just a very few)  have to be
 rewritten from

 if (pt_in_ring_2d(..., ...))

 to

 if (pt_in_ring_2d(..., ...) >= 0)


 or something like that.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/845#comment:21>
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