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

Start using OSRM #5

Open
jmealo opened this issue Feb 26, 2013 · 0 comments
Open

Start using OSRM #5

jmealo opened this issue Feb 26, 2013 · 0 comments
Assignees
Milestone

Comments

@jmealo
Copy link
Owner

jmealo commented Feb 26, 2013

osrm3-nq8

OSRM routes 1000x faster than pgrouting. It is very lightweight and was able to handle 200 concurrent connections on modest hardware without breaking a sweat. It installs without issue and imports files quickly.

That being said, it's easier to use than pgrouting, with only one gotcha:

OSRM doesn't support costs/weights right now; but it does support speed and routing by road type and one-way/turn restrictions.

Until they support LUA-based weight/costs (planned feature), I think the following solution should work:

By assigning walkable road types a new psuedo-road type based on safety we can trick the routing engine into routing by safest route.

Each psuedo-road type can have a speed assigned to it. We'll make the safest ones have the lowest speed and prefer the lowest speed (as the "foot" routing profile already does).

@jmealo jmealo closed this as completed Feb 26, 2013
@jmealo jmealo reopened this Feb 26, 2013
@ghost ghost assigned jmealo Feb 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant