If you are actually just wanting to dissolve the linework, rather than
fully union it (i.e. not adding nodes, just dissolving fully coincident
linework), then have a look at the LineDissolver class (ver 1.14 in SVN
only)
http://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jts/java/src/com/vividsolutions/jts/dissolve/LineDissolver.java
This should be faster than union().
On Thu, Oct 16, 2014 at 10:34 AM, Rob Emanuele <[email protected]> wrote:
> Hello,
>
> I'm unioning a lot of LineStrings. A couple problems that I'm having is
> that I find it throws TopologyExceptions, can sometimes produce invalid
> MuliLineStrings, and is very slow.
>
> The way I'm doing it is to collect all the LineStrings as a
> MultiLineString and calling the parameter-less `.union()` on the
> MultiLineString.
>
> Is there a better way to do this (a la CascadingPolygonUnion)?
>
> Thanks,
> Rob
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> Jts-topo-suite-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>
>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user