[OSM-talk] Finding what country something is in (new website)
Jonas Häggqvist
rasher at rasher.dk
Fri Jul 31 18:06:39 BST 2009
OJ W 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:
>
> http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=51.51&lon=-0.05
>
> - which replies that the specified numbers are in Tower Hamlets and
> London and the UK
Something's not quite right here in Denmark. There should be a
admin_level=7 boundary in Helsingør:
http://www.openstreetmap.org/browse/relation/184034
However, it seems not to work as expected - in fact it breaks the service
quite horrifically:
http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=56.0366&lon=12.514
What's going wrong here?
--
Jonas Häggqvist
rasher(at)rasher(dot)dk
More information about the talk
mailing list