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) > <[email protected] <mailto:[email protected]>> > 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 > > [email protected] <mailto:[email protected]> > > 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: [email protected] > <mailto:[email protected]> > > KIT - Universität des Landes Baden-Württemberg und nationales > Forschungszentrum in der Helmholtz-Gemeinschaft > > > _______________________________________________ > OSRM-talk mailing list > [email protected] <mailto:[email protected]> > https://lists.openstreetmap.org/listinfo/osrm-talk > > > > > -- > Cordialement > > Anael Lorimier > Developer Junior > XCG Consulting > > Mobile: (+33)652567117 > ------------------------------------------------------------------------ > > _______________________________________________ > OSRM-talk mailing list > [email protected] > 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: [email protected] KIT - Universität des Landes Baden-Württemberg und nationales Forschungszentrum in der Helmholtz-Gemeinschaft _______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
