[postgis-users] problem with intersection
olivier dorie
olivier.dorie at ign.fr
Wed Apr 6 07:16:44 PDT 2005
Hi list,
I'm using PostgreSQL 7.4.6 with Postgis 0.9.0 and geos 2.1.0.
When I intersect the 2 following polygons, the answer is an exception :
=================================================================================================
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))');
NOTICE: TopologyException: no outgoing dirEdge found (588929,2.43212e+06)
ERREUR: GEOS Intersection() threw an error!
=================================================================================================
I think the polygons are valid. is there a problem with the intersection or in my installation ?
grettings,
Olivier .
PS :
if I translate the polygons before, it works :
==================================================================================================
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))');
intersection
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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))
(1 ligne)
===================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050406/9737c173/attachment.html>
More information about the postgis-users
mailing list