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

Reply via email to