[osmosis-dev] Ring Grouping outer/inner information

Frederik Ramm frederik at remote.org
Thu Jan 27 23:56:40 GMT 2011


Hi,

Peter Schrammel wrote:
> according to
> http://wiki.openstreetmap.org/wiki/Relation:multipolygon/Algorithm
> 
> I have to know of which type a way is (inner,outer). I actually can't
> figure out how to get this information out of my osmosis database to
> build correct polygons and do some checks. Am I missing something? Don't
> I need this info to build multipolygons?

The algorithm actually suggests that you find this out by yourself 
instead of relying on the inner/outer roles. But if you want to use 
these roles, they are not properties of the way, but they are roles 
contained in the relation member table (depending on what schema you are 
using). The same way could be inner to one, and outer to another polygon.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the osmosis-dev mailing list