Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jts-dev] LineDissolver improvement?

Hi, I'm working on a project that needs a topological description of a collection of geometries. The LineDissolver class almost does what I need, but it simply returns the lines that make up the topology, and there's no way that I can see to recreate the original geometries out of those lines. I've modified the LineDissolver class so that the dissolve method takes a map from ID to geometry, and returns a map from LineString to set of IDs which indicates which of the input geometries each line is a part of.

Unfortunately the many non-public classes and fields make it impossible to simply extend the necessary classes, so I've had to edit the JTS code itself in order to accomplish this. I'd like to submit a PR to get these changes merged in. Is there interest in this? It seems like it could be broadly useful.

Thanks,
Caroline Kettlestrings

Back to the top