Why not ask your question on the new OpenStreetMap Community Forum?

# On what kind of node should we use the entrance tag?

 2 Hello, I'm trying to add entrance to building in order to be able to use the building as a destination in a routing program. I would thus like to link the surrounding street to the building entrance so that the routing using a dijkstra like algorithm can lead to the entrance immediately. Do you know if i should add a small path from the road to the building or only add a node at the entrance? How should i set up the relations between the road and the building in order for them to be connected? How should i use the entrance tag in order to make this link? Thank you for your help, Matthieu asked 18 Oct '12, 12:30 mataymans 31●1●1●2 accept rate: 0%

 2 Usually, just inserting an entrance node (entrance=yes, or entrance=main/service/... if there are multiple entrances) into the building outline is enough. Routing engines will lead you to the point on a street that is nearest to your target, even without a mapped direct connection. Usually, this produces the desired result. If you want to work at a very high level of detail, you can also add a path between the street and the entrance (if such a path exists in reality). In that case, the entrance node should be a shared node of that path and the building outline. There is no need to use any relations for mapping this situation. answered 18 Oct '12, 15:06 Tordanik 12.0k●15●106●147 accept rate: 35%
 1 Do you know if i should add a small path from the road to the building or only add a node at the entrance? You can do that if there really is a path from the road to the building. However, it should not be necessary for routing software. Routing SW will generally just find the road closest to your destination and guide you there, which will probably be enough. So for routing purposes, a node at the entrance is enough. How should i set up the relations between the road and the building in order for them to be connected? You just add addr: tags to the node, with the name of the street. The connection between road and building is then only implicit (by the name of the street). There is also a relation to make this explicit (http://wiki.openstreetmap.org/wiki/Relations/Proposed/Street), but it's not used frequently. How should i use the entrance tag in order to make this link? Just create a node which is part of the building, in the location where the entrance is. Then tag it with `entrance=yes` and with the address information. answered 18 Oct '12, 15:11 sleske 4.1k●13●56●78 accept rate: 24%
 toggle preview community wiki:

### Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

Question tags:

×252
×22

question asked: 18 Oct '12, 12:30

question was seen: 4,855 times

last updated: 18 Oct '12, 15:16