[postgis-users] GEOS Intersection() threw an error! Again

Pierre viallet pviallet at yahoo.fr
Tue Oct 17 07:10:23 PDT 2006


Hi Guy,
I know that i'm not the only one who have TopologyException probelm.
But the folowing exemple was running well in previous version (before geos 2.1.4) and return POINT(0.1,0.1) :

select
astext(intersection(geomfromtext('POLYGON ((0 0, 0 0.5, 0.1 0.5, 0.1 0.1, 0 0))', 27582), 
geomfromtext('POLYGON ((0.5 0, 0.1 0, 0.1 0.1, 0.5 0.5, 0.5 0))', 27582)))


I've chechek the validity of the two geom, and i try also

select  
astext(intersection(ForceRHR(geomfromtext('POLYGON ((0 0, 0 0.5, 0.1 0.5, 0.1 0.1, 0 0))', 27582)), 
ForceRHR(geomfromtext('POLYGON ((0.5 0, 0.1 0, 0.1 0.1, 0.5 0.5, 0.5 0))', 27582))))

Is there a way to work around this pb ? 
Does news geos 3.0.0 rc1 and the new binaryOp solve this ?

Regards,
Pierre


	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Demandez à ceux qui savent sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061017/9087f903/attachment.html>


More information about the postgis-users mailing list