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

2009-08-06 Thread Roland Olbricht
> There is still something wrong here : > http://dev.openstreetmap.org/~ojw/WhatCountry//?lat=51.894&lon=9.1909 Thank you for submitting the bug. Unfortunately, it revealed a larger fault. However, I've added a temporary patch such that the area should work in about 3 hours (22h00 UTC). Cheers,

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

2009-08-05 Thread Matthias Versen
Hi ! There is still something wrong here : http://dev.openstreetmap.org/~ojw/WhatCountry//?lat=51.894&lon=9.1909 It found an area but not the town with this relation: http://www.openstreetmap.org/browse/relation/142697 The relation itself should be ok and is used for the street-check: http://osm

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

2009-08-01 Thread Matthias Versen
Roland Olbricht wrote: > Both queries are responded from cache, but from different times. While the > data of the former is from 2009-07-31 15h00 UTC, the latter is from > 2009-08-01 03h00 UTC. In the meantime, somebody has edited holes into the > border of Nordrhein-Westfalen. Based on the data o

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

2009-08-01 Thread Matthias Versen
Jonas Häggqvist wrote: >> I fixed a "bug" in your relation, 2 not connected relation-members with >> http://www.openstreetmap.org/browse/changeset/1999106 >> >> I hope that it will fix the issue. > > It did - thanks a lot. Out of curiousity, how did you figure out where the > error was? I open

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

2009-08-01 Thread Roland Olbricht
> Something that would also be very cool would be if the script told you > all polygons or multipolygons you're in regardless of whether they are > a relation or normal polygon, and you could filter the result for > country boundaries or other type of areas. It could for example tell > you you're

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

2009-08-01 Thread Jonas Häggqvist
Matthias Versen wrote: > Jonas Häggqvist wrote: >>> http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=56.0366&lon=12.514 >> Okay, it no longer breaks - it just doesn't list the point as being in >> Helsingør (rel#184034). > > I fixed a "bug" in your relation, 2 not connected relation-members with

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

2009-08-01 Thread Roland Olbricht
> There is really something broken, compare : > http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=51.8478&lon=9.0282&lang= >de&mode=raw > > and > http://dev.openstreetmap.org/~ojw/WhatCountry//?lat=51.894&lon=9.1909&mode= >raw Both queries are responded from cache, but from different times. While

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

2009-07-31 Thread Matthias Versen
John Smith wrote: > I've redone all the admin_levels=4 like you suggested, however I'm not sure > if the NSW/ACT state borders are correct and would like a second opinion or > third on this. > > This is the relation for the NSW state border. > > http://www.openstreetmap.org/browse/relation/80372

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

2009-07-31 Thread Matthias Versen
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 There is really something broken, compa

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

2009-07-31 Thread John Smith
--- On Fri, 31/7/09, Matthias Versen wrote: > > 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. > > We usually Tag on

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

2009-07-31 Thread John Smith
--- On Fri, 31/7/09, Matthias Versen wrote: > We usually Tag only the "highest" (1=highest) admin_level > on a border in > Germany because an admin_level=2 (country) border is always > the same > border for the lower admin_levels. > The different admin_levels have of course always their own

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

2009-07-31 Thread Matthias Versen
Jonas Häggqvist wrote: >> 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 > > Okay, it no longer breaks - it just doesn't list the point as being in > Helsingør (rel#184034)

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

2009-07-31 Thread Yann Coupin
Works great for me, what would you like to enhance/correct ? Le 31 juil. 09 à 23:12, OJ W a écrit : > for some reason my javascript isn't working so well - anyone want to > try and make this more reliable? > > http://dev.openstreetmap.org/~ojw/PlaceBrowser/?lat=51.51&lon=-0.12&zoom=14 _

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

2009-07-31 Thread OJ W
for some reason my javascript isn't working so well - anyone want to try and make this more reliable? http://dev.openstreetmap.org/~ojw/PlaceBrowser/?lat=51.51&lon=-0.12&zoom=14 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org

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

2009-07-31 Thread Jonas Häggqvist
Jonas Häggqvist wrote: > 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 Okay, it no longer breaks - it just doesn't list the point as being in Helsingør (rel#184034). -- Jo

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

2009-07-31 Thread OJ W
http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=51.8478&lon=9.0282&lang=es http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=51.8478&lon=9.0282&lang=de http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=51.8478&lon=9.0282&lang=nl ___ talk mailing l

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

2009-07-31 Thread OJ W
should be working again now? ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk

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

2009-07-31 Thread OJ W
that would be a lack of disk space on dev's /home - I'll see if it's anything of mine that I can delete On Fri, Jul 31, 2009 at 6:26 PM, Roland Olbricht wrote: > After some playing around, I get some error messages with > http://dev.openstreetmap.org/~ojw/WhatCountry/?lat=-34.7758269&lon=149.69186

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

2009-07-31 Thread andrzej zaborowski
2009/7/30 OJ W : > 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 speci

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

2009-07-31 Thread Roland Olbricht
Dear OJ, > 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 nu

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

2009-07-31 Thread Jonas Häggqvist
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 specifie

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

2009-07-31 Thread Roland Olbricht
> Does the script also take boundaries in relations into account? I'm a > little puzzled by > > which is inside Kosovo with two relations as border, > Србија, admin_level 2, which is seen > and Kosovo, admin_level 3, which is n

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

2009-07-31 Thread Matthias Versen
John Smith wrote: > > 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. We usually Tag only the "highest" (1=highest) admin_

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

2009-07-31 Thread John Smith
--- On Fri, 31/7/09, Maarten Deen wrote: > Two boundary relations is also the way to map the > Australian example. I actually merged boundaries because there was 2 slightly wrong ones and I made one correct one from them both. Using a relation for the state boundary information seems like a

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

2009-07-31 Thread Maarten Deen
OJ W wrote: > On Fri, Jul 31, 2009 at 8:16 AM, John Smith wrote: >> 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. > >

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

2009-07-31 Thread OJ W
On Fri, Jul 31, 2009 at 8:16 AM, John Smith wrote: > 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. the "4;10" number so

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

2009-07-31 Thread John Smith
--- On Fri, 31/7/09, OJ W 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

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

2009-07-31 Thread OJ W
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

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

2009-07-30 Thread John Smith
--- On Thu, 30/7/09, 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: I haven't looked at the script but it doesn't cope well with US locations at al

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

2009-07-30 Thread Matthias Versen
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.openstreet

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

2009-07-30 Thread Claudius
Am 30.07.2009 20:59, OJ W: > 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 tha

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

2009-07-30 Thread OJ W
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 Ham