[OSM-talk] Finding what country something is in (new website)

John Smith delta_foxtrot at yahoo.com
Fri Jul 31 08:16:35 BST 2009




--- On Fri, 31/7/09, OJ W <ojwlists at googlemail.com> wrote:

> add a mode tag to see what the [[OSM
> Server Side Script]] is returning
> for each one:
> 
> http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=-33.87&lon=151.21&mode=raw
> 
> in this case, the only state information seems to be in the
> "Is_In"
> tag on the city boundary

Where was that derived from?

I also checked the Australian state borders and they are marked as admin_level=4;10 which may interfere with things if the script was only looking for a single number, however the boundary is used for local and state.


      




More information about the talk mailing list