Hi Nida,

  Not out of the box.  OSRM focuses on fast route calculation by generating
pre-calculated "speed up graphs" (either CH or MLD).  The pre-calculation
locks in place many of the choices made for routing, and makes things like
you describe impossible.

  Patrick has an experimental branch that implements A* which would unlock
some of this flexibility (at the cost of query speed) here:
https://github.com/Project-OSRM/osrm-backend/tree/algorihm/astar

  but it's incomplete.  It's likely a lot more work would need to be done
to support the feature you describe.

daniel



On Thu, Aug 16, 2018 at 7:48 AM Nida Fathima <[email protected]>
wrote:

> Hello,
>
> I am new to routing engines and trying to get familiar with OSRM.
>
> I need a road segment editor for routing where I should be able to enter
> the percentage of the road types that I want to my route to have.
> For example, let road types be Motorway, Urban and Rural and I enter
> [30%],[40%] and [30%]. The route should be calculated based on these 3
> inputs.
>
> My questions:
> 1. Is it possible to do this using OSRM?
> 2. If yes, How can this be done?
>
> I request you to please give suggestions and guide me on this.
>
> Thank you for your time.
>
> Best Regards,
> Nida
>
>
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to