[postgis-devel] [PostGIS] #314: Geographic point-in-polygon issue: stab line grazes vertex

PostGIS trac at osgeo.org
Fri Nov 20 10:37:52 PST 2009


#314: Geographic point-in-polygon issue: stab line grazes vertex
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by pramsey):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  PostGIS 2.0.0 => PostGIS 1.5.0

Comment:

 Used Nicklas' suggestion to skip past end points on the stab line to fix
 both co-linear and grazing cases. Added a number more tests to confirm
 this approach and handled first-point-on-line case also. Code looks much
 nicer now, thanks Nicklas. r4872

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