You are not logged in.


*** NOTICE: is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2020-01-14 04:33:43

New Member
Registered: 2020-01-14
Posts: 1

OSRM avoid crossing the street


I'm using the OSRM trip service that works great for me. Only problem I have is that for some of my routes, I need to avoid crossing the street as much as possible, normally try to go on one side of the street and then come back on the other.

Anyone know if I can achieve this by changing the foot.lua profile? If yes, could you point me on the right direction smile



#2 2020-01-14 10:56:31

Registered: 2010-10-13
Posts: 1,601

Re: OSRM avoid crossing the street

(I'm not familiar with OSRM at all but) it might help if you linked to the area that you're creating routes in - in particular it would be interesting to see how sidewalks are mapped there.

Maybe you can create a route at itself and link to that so that people can see the sort of problem that you're talking about (similar to … 4/-1.54787 )?


#3 2020-01-14 11:30:28

From: Charlbury, UK
Registered: 2007-04-24
Posts: 427

Re: OSRM avoid crossing the street

There was a thread about a very similar problem on the OSRM mailing list recently: … 01823.html . It isn't something that OSRM handles particularly well.


#4 2020-01-14 14:38:48

From: Leverkusen
Registered: 2015-06-02
Posts: 700

Re: OSRM avoid crossing the street

In the German sub-forum someone introduced a "safe pedestrian routing" engine one and a half years ago. It does what you are asking for I guess, minimizing street crossing and favoring controlled crossings. Unfortunately, that was only a test system for Germany, Austria and Switzerland and the project has gone very silent since the initial setup.


Board footer

Powered by FluxBB