[OSRM-talk] Restrictive Requests
Anael Lorimier
anael.lorimier at xcg-consulting.fr
Wed May 7 13:07:55 UTC 2014
Thank you for your help.
It's clear as crystal.
Regards.
On Wed, May 7, 2014 at 3:03 PM, Emil Tin <emil at 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 is to run several instances in parallel,
> but of course this will also mean longer preprocessing times.
>
> Then in the front end you change what osrm instance you query, like you
> said.
>
> Emil
>
> Den 07/05/2014 kl. 14.35 skrev Anael Lorimier <
> anael.lorimier at xcg-consulting.fr>:
>
> So, when you points to a different engine, it means that you request to
> another OSRM server ? Or am I wrong ?
>
> As far as I can see, you can't set up an OSRM Server that compute both
> without and with motorway
>
>
> On Wed, May 7, 2014 at 12:33 PM, Schieferdecker, Dennis (ITI) <
> dennis.schieferdecker at kit.edu> wrote:
>
>> 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 labels are updated and the current path is requeried.
>>
>> Anael Lorimier schrieb:
>> > Thank you for your fast answer.
>> >
>> > I'm not using OSRM-Web, I needed a more specific inplementation so I
>> > created my own leaflet interface to dialog with my OSRM Server.
>> >
>> > I will start reading how OSRM-Web works, but is there any
>> > documentation on how to manage engines ?
>> >
>> > Regards.
>> >
>> >
>> > On Wed, May 7, 2014 at 11:41 AM, Schieferdecker, Dennis (ITI)
>> > <dennis.schieferdecker at kit.edu <mailto:dennis.schieferdecker at kit.edu>>
>> > wrote:
>> >
>> > 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 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 Consulting
>> > >
>> > > Mobile: (+33)652567117 <tel:%28%2B33%29652567117>
>> > >
>> >
>> ------------------------------------------------------------------------
>> > >
>> > > _______________________________________________
>> > > OSRM-talk mailing list
>> > > OSRM-talk at openstreetmap.org <mailto:OSRM-talk at openstreetmap.org>
>> > > https://lists.openstreetmap.org/listinfo/osrm-talk
>> > >
>> >
>> >
>> > --
>> > Karlsruher Institut für Technologie (KIT)
>> > Institut für Theoretische Informatik
>> >
>> > Dennis Schieferdecker
>> > Wissenschaftlicher Mitarbeiter
>> >
>> > Am Fasanengarten 5
>> > Gebäude 50.34, Zimmer 220
>> > 76131 Karlsruhe
>> >
>> > Telefon: +49 721 608-46781 <tel:%2B49%20721%20608-46781>
>> > Fax: +49 721 608-43088 <tel:%2B49%20721%20608-43088>
>> > E-Mail: dennis.schieferdecker at kit.edu
>> > <mailto:dennis.schieferdecker at kit.edu>
>> >
>> > KIT - Universität des Landes Baden-Württemberg und nationales
>> > Forschungszentrum in der Helmholtz-Gemeinschaft
>> >
>> >
>> > _______________________________________________
>> > OSRM-talk mailing list
>> > OSRM-talk at openstreetmap.org <mailto:OSRM-talk at openstreetmap.org>
>> > https://lists.openstreetmap.org/listinfo/osrm-talk
>> >
>> >
>> >
>> >
>> > --
>> > Cordialement
>> >
>> > Anael Lorimier
>> > Developer Junior
>> > XCG Consulting
>> >
>> > Mobile: (+33)652567117
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > OSRM-talk mailing list
>> > OSRM-talk at openstreetmap.org
>> > https://lists.openstreetmap.org/listinfo/osrm-talk
>> >
>>
>>
>> --
>> Karlsruher Institut für Technologie (KIT)
>> Institut für Theoretische Informatik
>>
>> Dennis Schieferdecker
>> Wissenschaftlicher Mitarbeiter
>>
>> Am Fasanengarten 5
>> Gebäude 50.34, Zimmer 220
>> 76131 Karlsruhe
>>
>> Telefon: +49 721 608-46781
>> Fax: +49 721 608-43088
>> E-Mail: dennis.schieferdecker at kit.edu
>>
>> KIT - Universität des Landes Baden-Württemberg und nationales
>> Forschungszentrum in der Helmholtz-Gemeinschaft
>>
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
>
>
>
> --
> Cordialement
>
> Anael Lorimier
> Developer Junior
> XCG Consulting
>
> Mobile: (+33)652567117
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
--
Cordialement
Anael Lorimier
Developer Junior
XCG Consulting
Mobile: (+33)652567117
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20140507/68e4a8c6/attachment.html>
More information about the OSRM-talk
mailing list