[postgis-devel] Weird ST_Intersection behavior

George Silva georger.silva at gmail.com
Tue May 25 07:36:32 PDT 2010


Hello guys, I'm not sure this is the right place. I'm getting GEOS
exceptions while doing simple ST_Intersection calculations.

Check this out:

"POSTGIS="1.4.0" GEOS="3.1.1-CAPI-1.6.0" PROJ="Rel. 4.6.1, 21 August 2008"
USE_STATS"

SELECT ST_Intersection(
    ST_GeomFromText('POLYGON((0 0, 1 1, 1 0, 0 1, 0
0))'),ST_GeomFromText('LINESTRING(-1 -1, 2 2)'));

NOTICE:  TopologyException: found non-noded intersection between 0 0, 1 1NG
( and 1 0, 0.5 0.5 0.5 0.5
ERROR:  GEOS Intersection() threw an error!

********** Error **********

ERROR: GEOS Intersection() threw an error!
SQL state: XX000

Any hints?

Thanks

-- 
George R. C. Silva

Desenvolvimento em GIS
http://blog.geoprocessamento.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20100525/b8816f96/attachment.html>


More information about the postgis-devel mailing list