[OSM-talk-be] Nominatim administrative boundaries

Ben Laenen benlaenen at gmail.com
Fri Jun 14 12:14:59 UTC 2013


On Friday 14 June 2013 13:56:55 Daan Bellefroid wrote:
> I was just looking that information up in the forum.
> As far as I can find out now, a boundary is a way with a tag boundary=*

Yeah, I'm making some shortcuts: someone has to map the boundaries with 
boundary=administrative + admin_level=9 for the deelgemeenten. Then the proper 
boundaries have to added to the relation that defines the full area of 
Werchter.

As you can see on 
http://nominatim.openstreetmap.org/details.php?place_id=39355280
nominatim doesn't have any knowledge about it belonging to Werchter. It knows 
it's inside the Rotselaar boundaries. It can look at nearby place nodes, but 
then can't do more than guessing if it does belong to it or not, and decides 
on that by measuring the distance to that node. In the case of Leybos, it 
relates it to Heikant, so searching for "Leybos, Heikant" does give you the 
results.

If you look at another street more closely to the place node of Werchter, like
http://nominatim.openstreetmap.org/details.php?place_id=5990195272
you see that it does relate the street to Werchter, so "Hazepad, Werchter" 
returns the expected results.

So what has to be done to make Leybos belong to Werchter: we have to map it as 
being part of it, which we do by adding administrative boundary relations. 
Which is something we're going to need a source for first, since they 
generally don't mark these boundaries with big white painted lines in real 
life... So if anyone has them, share them :-)

Ben




More information about the Talk-be mailing list