[OSRM-talk] Restrictive Requests

2014-05-07 Thread Anael Lorimier
Hi there, I was wondering if there is any way to restrict, directly in the requested URL, the route computed. I need to let the user choose if he wants to take the motorway, the toll booth, or other tagged elements. Thank you for your help ! -- Regards Anael Lorimier Developer Junior XCG

Re: [OSRM-talk] Restrictive Requests

2014-05-07 Thread Schieferdecker, Dennis (ITI)
Hello Anael, yes there is an option. You can specify re=X for the routing engine to use. The engines are enumerated as in your OSRM.config.js, starting from 0. best regards Dennis Anael Lorimier schrieb: Hi there, I was wondering if there is any way to restrict, directly in the requested

Re: [OSRM-talk] Restrictive Requests

2014-05-07 Thread Schieferdecker, Dennis (ITI)
Unfortunately, there is no documentation. But managing engines is pretty straight forward. OSRM-Web just uses an array that contains all data for each engine (see OSRM.config.js) and when you select a different engine (either through the pull-down menu or with an URL parameter), the server URL and

Re: [OSRM-talk] Restrictive Requests

2014-05-07 Thread Emil Tin
osrm-routed can only compute one type of route, because the data is preprocesed. There is no way to change things like motorway or not at run time. The only thing you can do is to run several instances in parallel, but of course this will also mean longer preprocessing times. Then in the front

Re: [OSRM-talk] Restrictive Requests

2014-05-07 Thread Anael Lorimier
Thank you for your help. It's clear as crystal. Regards. On Wed, May 7, 2014 at 3:03 PM, Emil Tin e...@tin.dk wrote: osrm-routed can only compute one type of route, because the data is preprocesed. There is no way to change things like motorway or not at run time. The only thing you can do