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

OJ W ojwlists at googlemail.com
Fri Jul 31 08:07:22 BST 2009


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



On Fri, Jul 31, 2009 at 2:23 AM, John Smith<delta_foxtrot at yahoo.com> wrote:
>
>
>
> --- On Thu, 30/7/09, OJ W <ojwlists at googlemail.com> wrote:
>
>> I put a wrapper around the rather
>> excellent
>> http://wiki.openstreetmap.org/wiki/OSM_Server_Side_Script
>> which can
>> tell you which town/county/state/country something is in:
>
> I haven't looked at the script but it doesn't cope well with US locations at all...
>
> http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=40.75&lon=-74
>
> And it didn't like Australian state borders. I'm not sure if the script needs an update or the way the borders were tagged.
>
> http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=-33.87&lon=151.21
>
>
>
>




More information about the talk mailing list