<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hello Everyone! Good afternoon!<br><br></div>I'm working on a project that uses OpenStreetMap to do some routing. I'm using the OSRM router as a service.<br><br></div>We identified a problem with the routing, and the problem does not lie in the router itself. Some routes we try to execute in our software, go underground, into the PATH tunnels. When I try to route between two points inside the PATH, all goes well and the router does it's job just fine.<br><br></div>When I'm above ground and try a route that goes underground a few things can happen:<br><br></div>1. OSRM gives me the car route and then traces a direct line to the point;<br></div>2. OSRM routes using the PATH;<br><br></div>The second only happens when the PATH is connected to the street graph.<br><br></div>So, we will be applying a two step routing, to the entrances of the PATH, and from there, to the underground locations, when necessary. When it's above ground > above ground, we'll just use a simple routing scheme.<br><br></div>My questions are:<br><br></div>1. How are the entrances mapped? Is there any specific tag on OSM that marks them as entrances or that the level is changing (from 0 to -1, for example)?<br><br></div>2. All of these entrances should be connected to the main graph, otherwise they are unreachable from a street or a sidewalk. How can those be mapped?<br><br></div>I'm sorry about the lengthy email, but I want to contribute and I do not want to step on any toes. <br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><br></div><div>Thanks<br></div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr">George R. C. Silva<br>Sigma Geosistemas LTDA<br><div>----------------------------<br><div><a href="http://www.sigmageosistemas.com.br/" target="_blank">http://www.sigmageosistemas.com.br/</a><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div>