The coords are lat/lon, so simplifying by 0.001 is something like 100 meters...  That's too coarse for my project.<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 3:49 AM, Maxime van Noppen <span dir="ltr"><<a href="mailto:maxime@altribe.org">maxime@altribe.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 07/28/2010 10:15 PM, Jeff Adams wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
OK, I finally have it down to a manageable use case.  Union these 16<br>
linestrings, you get a topology exception.  Remove any one of them, you<br>
don't.  What the heck can I do about this?  Simplifying and snapping to<br>
grid, at any reasonable precision, did not help my larger real data (I<br>
didn't try with this little test case).<br>
<br>
Is there any chance that ST_Union has a bug?  Isn't it supposed to be<br>
adding the node it complains is missing?<br>
</blockquote>
<br></div>
I got it working by simplifying the geometries:<br>
<br>
  st_union(st_simplify(geom, 0.001))<br>
<br>
if it is of any help.<br>
<br>
-- <br><font color="#888888">
Maxime</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jeff Adams<br>Azavea (formerly Avencia)  |  T: 215.701.7717  |  F: 215.925.2663<br><a href="http://www.azavea.com">www.azavea.com</a><br>