[OSM-dev] Best way to select from a region

Roland Olbricht roland.olbricht at gmx.de
Thu Sep 3 17:02:02 BST 2009


> That's an interesting number. Which definition of "correct" do you use?

The mathematically most general: take all way members of the relation as 
borders. This forms an area if and only if every node if references by an odd 
number of way segments.

The system takes into account any relation that has an admin_level-key or is 
of type multipolygon.

Cheers,

Roland




More information about the dev mailing list