Hei Larry, mhm.. maybe I could not really express what I want to do. I have already polygons - and want to derive the common boundary between two polygon as "one Linestring". So I need to concatenate the pieces that intersection() does return. Or are you proposing to simply work with the (out-)lines instead of the complete polygon? Not sure if that would be an advantage, as I also need to clean up the data from double edges. Not sure...
Stefan Larry Becker wrote: > Hi Stefan, > > How about com.vividsolutions.jts.operation.polygonize? That seems to > be what it was intended to do. > > regards, > Larry > > > > On Thu, Jul 10, 2008 at 7:21 PM, Stefan Steiniger <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > 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 > <mailto:Jump-pilot-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > http://amusingprogrammer.blogspot.com/ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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