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

Martin Davis mbdavis at refractions.net
Mon Jan 8 11:16:51 PST 2007


Ok, I'm just reporting from the JTS algorithm perspective.  This will 
have to be addressed by Sandro or someone else who can try this out in 
PostGIS/GEOS.

Arnaud Lesauvage wrote:
> 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...
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022




More information about the postgis-users mailing list