Opened 15 years ago
Last modified 15 years ago
#314 closed defect
Geographic point-in-polygon issue: stab line grazes vertex — at Initial Version
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 1.5.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
While fixing the co-linear case I was reminded of another unhandled case. If the stab line grazes a vertex but does not actually cross, a crossing will still be counted.
http://trac.osgeo.org/postgis/browser/trunk/liblwgeom/cunit/cu_geodetic.c#L628
We could detect the condition and abort by running every test twice, with different stab lines.
Note:
See TracTickets
for help on using tickets.