<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Charlie ,<br>
<br>
neither of those polygons are valid<br>
<br>
repeating points, self intersecting and the second one is not a closed
linestring<br>
<br>
C.<br>
<br>
<br>
<br>
Charlie Savage wrote:
<blockquote cite="mid:46E0E199.40302@savagexi.com" type="cite">This
makes sense to me:
<br>
<br>
SELECT astext(GeomUnion(GeomFromText('POINT(-104 40)'),
<br>
GeomFromText('POINT(-105 40)')))
<br>
<br>
"MULTIPOINT(-105 40,-104 40)"
<br>
<br>
<br>
<br>
But this not so much:
<br>
<br>
SELECT astext(GeomUnion(GeomFromText('POLYGON((-104 40,-104 40,-104 <br>
40,-104 40,-104
40))'),
<br>
GeomFromText('POLYGON((-105 40,-105 40,-105
<br>
40,-105 40,-105
0))')))
<br>
<br>
"GEOMETRYCOLLECTION EMPTY"
<br>
<br>
Is this a bug? Or is it supposed work this way? It used to be
different with Geos 2.2.1 (I assume this is a geos issue so I included
that mailing list).
<br>
<br>
Charlie
<br>
<br>
<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<br>
</body>
</html>