Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle subway/railway routes modelled with relations #90

Open
emiltin opened this issue Jan 24, 2012 · 2 comments
Open

handle subway/railway routes modelled with relations #90

emiltin opened this issue Jan 24, 2012 · 2 comments
Milestone

Comments

@emiltin
Copy link
Contributor

emiltin commented Jan 24, 2012

i can't get osrm to follow subway or railway lines in copenhagen.

ferry lines work fine. with ferries, the way itself is tagged with route=ferry.

however, the subway and railway lines in copenhagen does not have the route tag set. instead they're tagged with railway=subway, and then has relations that describe the route:

http://www.openstreetmap.org/browse/way/4317977

as we're working on a bike route planner, subways and trains does not have a high priority for us right now, but still - if you want to bike to malmø, there is no ferry across the strait to sweden, but there is a railway that allows you to bring your bike.

this brings me to another point - since it's a bike planner, i want to suggest bike routes whenever possible, even though train might be faster. but in the case there is no bike route, train lines should be used. this can be solved nicely with a priority for different way/route type that is separate from the speed (as suggested in #77 which i think is quite important). that way trains can be given a low priority, even though they're fast.

@DennisOSRM
Copy link
Collaborator

I see that, too. Maybe a nice addition for version 0.4.

@emiltin
Copy link
Contributor Author

emiltin commented Jun 1, 2012

looking at this again, i don't think it's necessary to consider relations.

all that's needed it to use ways with railway=* , with the actual tag value(s) set in the speedprofile. railways are not tagged with highway=* , but instead railway=*.

@TheMarex TheMarex modified the milestones: 5.1.0, 5.0 Mar 9, 2016
@TheMarex TheMarex modified the milestones: 5.2.0, 5.1.0 Apr 25, 2016
@TheMarex TheMarex modified the milestones: 6.1, 5.2.0 May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants