[OSM-talk-be] Correct use of is_in tag
Glenn Plas
glenn at byte-consult.be
Wed Jul 31 13:39:31 UTC 2013
On 2013-07-31 15:23, Joren wrote:
> Hi,
>
> I was wondering what's the correct use of the 'is_in'-tag in Belgium
> (or Flanders in particular).
> When I search on openstreetmap.org for cities, I sometimes see the
> detail it is in 'European Union'.
>
> For example, my own city Lier has following search result: "
> Stadsgrens Lier, Mechelen, Antwerpen, Vlaanderen, Belgiƫ, European
> Union"
> <http://www.openstreetmap.org/?minlon=4.50586080551147&minlat=51.0726852416992&maxlon=4.64306163787842&maxlat=51.1657829284668>
> When I search for city Duffel: "Stadsgrens Duffel, Mechelen,
> Antwerpen, Vlaanderen, Belgiƫ"
> <http://www.openstreetmap.org/?minlon=4.46484470367432&minlat=51.0725708007812&maxlon=4.57519102096558&maxlat=51.1169281005859>
>
> As you can see, Lier is tagged correctly it is in the EU, Duffel
> isn't. There are multiple other examples (Oostmalle, Zandhoven, ...)
>
> When I compare the tags:
>
> For Duffel (http://www.openstreetmap.org/browse/node/85635996/history)
>
> * is_in <http://wiki.openstreetmap.org/wiki/Key:is%20in?uselang=nl>
> =
> Mechelen,Mechelen,Antwerpen,Antwerpen,Vlaanderen,Vlaanderen,Belgique,Belgique,Europe
> * is_in:continent = Europe
> * is_in:country = Belgium
> * is_in:province = Antwerp
> * name <http://wiki.openstreetmap.org/wiki/Key:name?uselang=nl> = Duffel
> * + some openGeoDB-tags
>
> vs for Lier (http://www.openstreetmap.org/browse/node/30997655)
>
> * is_in <http://wiki.openstreetmap.org/wiki/Key:is%20in?uselang=nl>
> = Antwerpen, Belgium, Europe
> * is_in:continent = Europe
> * is_in:country = Belgium
> * is_in:province = Antwerp
> * name <http://wiki.openstreetmap.org/wiki/Key:name?uselang=nl> = Lier
> * + some OpenGeoDB-tags (see links below)
>
Actually, Lier is incorrect considering this relation:
http://www.openstreetmap.org/browse/relation/2524403
Lier is in Arrondissement Mechelen. You have to account for the
Administrative layers. Afaik, relations like this should replace the
is_in tag, I never really got that tag either.
Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20130731/35f30e55/attachment.htm>
More information about the Talk-be
mailing list