osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

Profile for emergency vehicles

Open MHarbi opened this issue 6 years ago • 5 comments

I am applying map matching on GPS locations for emergency vehicles. The results are fine, but there are some splits in the resultant trajectories and changing in the roads due to breaking the rules of those vehicles. I am thinking to adjust the car profile (.lua) to make it fit those kind of vehicles. I notice there are a great deal of parameters on that file. Any suggestion for this modification?

MHarbi avatar Mar 19 '18 21:03 MHarbi

Hi, Is there any chance that you came up with a solution, as I am working on the same issue?

RussellMolaei avatar Sep 11 '19 01:09 RussellMolaei

Hello, would be pleased to have some news also.

We use OSRM for EMS response teams ( called SMUR ) in France. And you ?

The fact is that even with creating a dedicated car profile we actually are often pessimist on predictive delay of arrival at destination.

Regards

parville avatar Sep 11 '19 07:09 parville

@rASOUL82 @parville Unfortunately, we could not come up with a car profile that imitate the emergency vehicle behavior. These vehicles sometime break the traffic rules, including driving in the reverse direction thru the road margin, in order to expedite their arrival. We could not copy such behavior.

MHarbi avatar Sep 11 '19 08:09 MHarbi

I agree about the fact that Emergency vehicle is sometimes out of the rules. But, I did consider that this would be done "à la marge", id est in a very few part of the trip so that normally we should be able to compute a trip and more important a delay to endpoint (to choose between several EMS teams).

Actually did not find time to study the quite important records of real trips comparing to time computed .

parville avatar Sep 13 '19 11:09 parville

  • [ ] first, remove this code https://github.com/Project-OSRM/osrm-backend/blob/db7946d76246cb10a5710c8f2851997417940b55/profiles/car.lua#L109-L111

  • [ ] then, remove emergency in this blacklist https://github.com/Project-OSRM/osrm-backend/blob/db7946d76246cb10a5710c8f2851997417940b55/profiles/car.lua#L78-L82

  • [ ] support emergency=* => emergency=yes ; emergency=designated

  • [ ] support except=emergency

optional

  • [ ] add a small penalty for barrier=toll_booth
  • [ ] add a penalty for some hazard, like hazard=dangerous_junction and hazard=damaged_road see https://github.com/Project-OSRM/osrm-backend/issues/3325
  • [ ] add a penalty for barrier=spikes and hazard=flooding
  • [ ] add a penalty for lit=no

Manu1400 avatar Aug 15 '23 00:08 Manu1400

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Jul 08 '24 21:07 github-actions[bot]