Hi Jan, thanks for the response.
I am actually only talking about "unioning" of LineStrings i.e. outer and inner rings. Polygons are created later from those in a different process (that I have implemented already). I guess tomorrow I will simply check what happens for each (after exploding the created multi-geoms). I am sure that LineMerger will give me what I want, but I was not sure if there have been changes to geom.union() over the last 2-4 years to do the same. cheers, stefan Am 17.07.13 18:17, schrieb Jan Torben Heuer: > Dear Stefan, > > The Openstreetmap Relation -> Multipolygon rules are very complex and cannot > be simply done by a union method. You can either follow their implementation > rules or use one of the existing parsers (like osm2pqsql) to generate > polygons. > > Jan > > > Am 12.07.2013 um 23:41 schrieb Stefan Steiniger <[email protected]>: > >> Hi Martin et al, >> >> I am wanting to create (multi-)polygons from *.osm data. Problem is that >> several "ways" (read: LineStrings) can make up a polygons outershell. >> >> see here: http://wiki.openstreetmap.org/wiki/Relation:multipolygon >> (in particular the image on the right side) >> >> Now, after reading the JTS doc I am still unsure if geometry.union() - >> looped over all (outer)ways does what I want. That is, if should use >> LineMerger instead? >> >> Any advise? >> >> cheers from the southern hemisphere, >> stefan >> >> ------------------------------------------------------------------------------ >> See everything from the browser to the database with AppDynamics >> Get end-to-end visibility with application monitoring from AppDynamics >> Isolate bottlenecks and diagnose root cause in seconds. >> Start your free trial of AppDynamics Pro today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Jts-topo-suite-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user >> > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Jts-topo-suite-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Jts-topo-suite-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
