[postgis-users] Problem : Within() incorrectly returns 'false'

Arnaud Lesauvage thewild at freesurf.fr
Mon Jan 8 10:55:29 PST 2007


Martin Davis a écrit :
> I'm not sure about this one.  The test checks out fine in JTS. 
> 
> But note that you have some <CR>s in the text of the Polygon geometry 
> which occur in the middle of coordinate values, and which if actually 
> present in the string cause invalid geometry to be created.  If you're 
> running this SQL from a script, then you should closely inspect the 
> script to make sure that the cmd is either all on one line or the line 
> breaks do not split numeric values.

Hi Martin,
The geometries are stored in tables. I wrote their WKT 
representation so that anyone could reproduce the problem.
Have you tried running this in psql ?
I really don't get it here...



More information about the postgis-users mailing list