<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm using PostgreSQL 7.4.6 with 
Postgis 0.9.0 and geos 2.1.0.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I intersect the 2 following polygons, the 
answer is an exception :</FONT></DIV>
<DIV><FONT face=Arial 
size=2>=================================================================================================</FONT></DIV>
<DIV><FONT face=Arial size=2>select intersection('POLYGON((588912.7 
2432104.5,588927.7 2432124, 588928.9 2432123.6, 588923.7 2432132.3,588912.7 
2432104.5))','POLYGON((588916.4 2432124.4, 588920.7 2432129.9,588928.6 
2432123.7,588930.1 2432122.6,588916.4 2432124.4))');<BR></FONT><FONT face=Arial 
size=2>NOTICE:  TopologyException: no outgoing dirEdge found 
(588929,2.43212e+06)<BR>ERREUR:  GEOS Intersection() threw an 
error!</FONT></DIV>
<DIV><FONT face=Arial 
size=2>=================================================================================================<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I think the polygons are valid. is there a problem 
with the intersection or in my installation ?</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>grettings,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Olivier .</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PS : </DIV></FONT>
<DIV><FONT face=Arial size=2>if I translate the polygons before, it works 
:</DIV></FONT>
<DIV><FONT face=Arial 
size=2>==================================================================================================</DIV></FONT>
<DIV><FONT face=Arial size=2>select intersection('POLYGON((588912.7 
104.5,588927.7 124, 588928.9 123.6, 588923.7 132.3,588912.7 
104.5))','POLYGON((588916.4 124.4, 588920.7 129.9,588928.6 123.7,588930.1 
122.6,588916.4 
124.4))');<BR>                                                                              
intersection                                                             
<BR>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<BR> SRID=-1;POLYGON((588928.6 
123.700000000017,588927.7 124,588926.942223355 123.014890362064,588920.367823092 
123.878680177714,588922.264519491 128.672149259957,588928.6 
123.700000000017))<BR>(1 
ligne)<BR>===================================================================================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></FONT></DIV></BODY></HTML>