Hey George, I'll work towards improving the way the connections are, but because of the large size of the network, the fact that it's invisible in imagery & GPS is useless, and I can only remember so much, it might take some time to make it perfect. It's a bit of a wild west of connections down there and there can be many connections to the surface contained within one city block (8+ in some cases) with a mix of stairs, escalators, and elevators with varying levels of access based around the time of day.
1. Entrances are only mapped sometimes. Currently on OSM it seems that the underground PATH connects directly with the above ground network rather than having an elevator or stairway between the level change. In the latest updates I've made I've added in escalators, elevators, and stairs and connected them to the PATH (level=-1) or the ground level network with an entrance node included on its intersection with the building. One thing I've also noticed is that the PATH footways are marked using layer=-1, not level=-1 - I don't know if this makes a difference to OSRM. 2. I've been linking the entrances with indoor footways that connect to the PATH via elevators and escalators/stairs and then linking the other side of the entrance node to the sidewalks or roads so that it should be able to route between the two networks. If you have any suggestions or comments please tell us. Thanks for the heads up, Kevin (Kevo) -Kevin Farrugia kevinfarru...@gmail.com On Thu, May 28, 2015 at 4:08 PM, George Silva <georger.si...@gmail.com> wrote: > Hello Everyone! Good afternoon! > > I'm working on a project that uses OpenStreetMap to do some routing. I'm > using the OSRM router as a service. > > 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. > > When I'm above ground and try a route that goes underground a few things > can happen: > > 1. OSRM gives me the car route and then traces a direct line to the point; > 2. OSRM routes using the PATH; > > The second only happens when the PATH is connected to the street graph. > > 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. > > My questions are: > > 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)? > > 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? > > I'm sorry about the lengthy email, but I want to contribute and I do not > want to step on any toes. > > Thanks > > -- > George R. C. Silva > Sigma Geosistemas LTDA > ---------------------------- > http://www.sigmageosistemas.com.br/ > > _______________________________________________ > Talk-ca mailing list > Talk-ca@openstreetmap.org > https://lists.openstreetmap.org/listinfo/talk-ca > >
_______________________________________________ Talk-ca mailing list Talk-ca@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk-ca