[postgis-users] Problem : Within() incorrectly returns 'false'
Arnaud Lesauvage
thewild at freesurf.fr
Wed Jan 10 00:06:48 PST 2007
Paul Ramsey a écrit :
> If this is a recent PostGIS, it's possible that our point-in-polygon
> short-circuit test is returning a wrong answer, while the other tests
> (distance, intersection) are independently returning the right answer.
> Incidentally, what is the result of a relate(point,polygon)?
relate(point,polygon) = "0FFFFF212", so this is correct, right ?
relate(pt, pg, 'T*F**F***') also returns true, so I think you got it right with
the short-circuit being the source of the problem.
--
Arnaud
More information about the postgis-users
mailing list