[postgis-users] Union fails on 2389 linestrings.
jadams at azavea.com
Thu Jul 29 07:10:23 PDT 2010
The coords are lat/lon, so simplifying by 0.001 is something like 100
meters... That's too coarse for my project.
On Thu, Jul 29, 2010 at 3:49 AM, Maxime van Noppen <maxime at altribe.org>wrote:
> On 07/28/2010 10:15 PM, Jeff Adams wrote:
>> OK, I finally have it down to a manageable use case. Union these 16
>> linestrings, you get a topology exception. Remove any one of them, you
>> don't. What the heck can I do about this? Simplifying and snapping to
>> grid, at any reasonable precision, did not help my larger real data (I
>> didn't try with this little test case).
>> Is there any chance that ST_Union has a bug? Isn't it supposed to be
>> adding the node it complains is missing?
> I got it working by simplifying the geometries:
> st_union(st_simplify(geom, 0.001))
> if it is of any help.
> postgis-users mailing list
> postgis-users at postgis.refractions.net
Azavea (formerly Avencia) | T: 215.701.7717 | F: 215.925.2663
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users