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

andrzej zaborowski balrogg at gmail.com
Thu Sep 3 22:02:42 BST 2009

2009/9/3 Roland Olbricht <roland.olbricht at gmx.de>:
>> Off topic, but what might be a reason for a boundary relation (such as
>> 224459) not appearing in any coords-query, for locations inside and
>> outside it alike, and returning no data for an area-query, but also no
>> error?  I don't suppose node number limit?
> <relation id="224495">
>  <member type="way" ref="39907923" role="outer"/>
>  <member type="way" ref="39907925" role="inner"/>
>  <tag k="type" v="multipolygon"/>
> </relation>

This one is 224495 - nine-five at the end instead of five-nine -
though.  224459 has both a name and admin_level, it's returned by:

wget -O - --post-data="<id-query type=\"relation\"
ref=\"224459\"/><print mode=\"body\"/>" | gunzip

but not by:

wget -O - --post-data="<coord-query lat=\"50.07\"
lon=\"19.98\"/><print mode=\"body\"/>" | gunzip


More information about the dev mailing list