<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#333399">
I'm consistently getting an error that I cannot make sense of.&nbsp; Here's
the query I run:<br>
<br>
<tt>SELECT 'ILN' AS "base radar",radid, <br>
&nbsp;&nbsp;&nbsp; npoints(<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Difference(<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; base_geom,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; x_geom<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; )<br>
&nbsp;&nbsp;&nbsp; )<br>
&nbsp;&nbsp;&nbsp; FROM MJF WHERE radid != 'ILN';<br>
<br>
</tt>Here's the error I get::<br>
<br>
<tt>NOTICE:&nbsp; TopologyException: no outgoing dirEdge found
(34380.5,521104)<br>
ERROR:&nbsp; GEOS difference() threw an error!<br>
</tt><br>
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.&nbsp; I get the
error whether I use Difference(), Intersection(), GeomUnion(), or the
like.&nbsp;&nbsp; The 'base_geom' contains a circular geometry returned from the
Buffer() function (to create a disk around point).&nbsp; The x_geom is a
rectangle that I know intersects the circle (base_geom).&nbsp; Any ideas how
to interpret this error?<br>
<br>
Mark<br>
&nbsp;<br>
<br>
</body>
</html>