Hello !

> Cool. Any idea why it's failing for cities in Iran [1]? Missing country
> polygon?
>
> Claudius
>
> [1] http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=36.303&lon=59.606

This excellent tool seems to use the admin-boundary relations.

The output for my example ( 
http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=51.8478&lon=9.0282 ) is

===========================================
National border (admin_level=2)

State (admin_level=4)
State-district border (admin_level=5)
County (admin_level=6)

Town (admin_level=8)
===========================================

There are empty lines from admin_levels that aren't used in my case like 
admin_level=7.

See also http://wiki.openstreetmap.org/wiki/Key:boundary

Matthias





_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to