[postgis-users] Can't make sense of this error

strk at refractions.net strk at refractions.net
Tue May 17 09:18:01 PDT 2005


On Tue, May 17, 2005 at 03:14:24PM +0200, "R. Müller" wrote:
> the same for me,
> 
> is there any posibility to validate the geometries ?

WHERE isvalid(base_geom) AND isvalid(x_geom);

If isvalid() raises an ERROR that's a bug.

--strk;

> 
> 
> thanks
> 
> ronald
> 
> Mark Fenbers wrote:
> >I'm consistently getting an error that I cannot make sense of.  Here's 
> >the query I run:
> >
> >SELECT 'ILN' AS "base radar",radid,
> >    npoints(
> >            Difference(
> >                base_geom,
> >                x_geom
> >            )
> >    )
> >    FROM MJF WHERE radid != 'ILN';
> >
> >Here's the error I get::
> >
> >NOTICE:  TopologyException: no outgoing dirEdge found (34380.5,521104)
> >ERROR:  GEOS difference() threw an error!
> >
> >If I change my WHERE clause such that only one row is returned instead 
> >(e.g., unnegate the equality), then I do NOT get the error.  I get the 
> >error whether I use Difference(), Intersection(), GeomUnion(), or the 
> >like.   The 'base_geom' contains a circular geometry returned from the 
> >Buffer() function (to create a disk around point).  The x_geom is a 
> >rectangle that I know intersects the circle (base_geom).  Any ideas how 
> >to interpret this error?
> >
> >Mark
> > 
> >
> >_______________________________________________
> >postgis-users mailing list
> >postgis-users at postgis.refractions.net
> >http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> -- 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list