Ticket #314 (closed defect: fixed)
Geographic point-in-polygon issue: stab line grazes vertex
| Reported by: | pramsey | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.5.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by pramsey) (diff)
While fixing the co-linear case (#255) 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.
Change History
Note: See
TracTickets for help on using
tickets.
