Hei, Today I started some work on analysing and later generalising (i.e. simplification) of polygon layers where the polygons form a mosaic (tesselation). So any operation on the boundaries requires that topologic neighbourhood must be observed. I.e. to simplify an outline I need to simplify the common boundary of two polygons.
I have now written a "polygon neighborhood graph" and try now to extract the common boundary. Unfortunately the Jts intersection command results in linestrings that are rather line segments. So I need to paste them together again. Does anybody knows a function for that? I tested union, and it seems to create again a MultiLineStrings instead of a unified line. The only tool that comes to my mind so far is Larry's /ISA's "blend lines". Any other suggestions? Stefan ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel