So.. I tried it now with the planar graph. Unfortunately an error did occur with my data and the function also returns several overlapping edges instead one for touching polygons.
However, I could use the LineMerger that was also used in PlanarGraph by Michael and I get now what I want :) Next steps are now to let the generalization work on the edges and then to re-generate the polygons. stefan Michael Michaud wrote: > Hi Stefan, > > Did you try the planar graph plugin. > Last time I had such a problem, I created a planar graph from my polygon > layer, > simplified the resulting edge layer > created a new planar graph (or polygonize) from the simplified edges layer. > > Otherwise, to create linestrings from linesegments, use linemerge (I > think I added an option to union or union by attribute to merge > linesegments if needed) > > Michaël > > Stefan Steiniger a écrit : >> 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 >> >> >> > > > ------------------------------------------------------------------------- > 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