Currently the demo server only runs the car profile. This is due to how the
osrm pipeline works at this point in time: we pre-process the osm files on
a per profile basis (may take hours).
If we want the user being able to switch between profiles, we have to do
this time and cpu consuming pre-processing for all profiles that we wish to
support.

And because the demo server is, well, a demo server, this would generate
too much overhead. Feel free to do this on your own machine, though :)

That said, we already thought about user-provided profiles --- making it
way faster to change profiles, without the need for heavy pre-processing
--- but this is nothing you could expect shipping in the near future.

In the mean time we implemented features to get the pre-processing time
down for dynamically updating edge weights:
> https://github.com/Project-OSRM/osrm-backend/wiki/Traffic

On Thu, Jan 21, 2016 at 1:55 PM, Jean-Baptiste STAEBLER <
j-b.staeb...@reunir.org> wrote:

> Hello,
>
> I'm interested with bus profile for OSRM too ; I've written a lua script
> for this but not tested yet (I'm waiting for my server installation).
> I know other organizations looking for specific profiles in OSRM request
> (bus or other, and too railway profiles).
>
> So it will be an interesting evolution if the demo server would let the
> user choose his profile (car, foot, bike, bus/coach, truck, train...),
> isn't ?
>
> Have a nice day.
>
>
> -----Message d'origine-----
> De : Richard Marsden [mailto:winw...@gmail.com]
> Envoyé : mercredi 20 janvier 2016 00:36
> À : Mailing list to discuss Project OSRM
> Objet : Re: [OSRM-talk] Bus routes
>
> I can't help with bus routes specifically, but I did write up some notes
> about the lua config files from my own similar investigations.
> See: http://www.winwaed.com/blog/2015/11/18/osrms-lua-scripts/
>
> Basically there's no documentation, so you have to work it out yourself
> from the samples and test files. If they don't make sense, then you're
> expected to poke around in the source code.
>
> Hopefully these notes will help, but they do not pretend to be complete.
> Add comments regarding any corrections, and I can update them accordingly.
>
>
> On Tue, Jan 19, 2016 at 2:14 PM, Artur Bialecki <abiale...@intellimec.com>
> wrote:
> >
> >
> > Hello,
> >
> >
> >
> > I would like to use OSRM with bus routes. Basically I only want to
> > extract and route against nodes and ways that belong to relation
> > route=bus|tram|trolleybus
> >
> > I can’t find any documentation on how to use profile.lua, so I would
> > appreciate any pointers you may have on how to achieve this.
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Artur…
> >
> > This e-mail message is confidential, may be privileged and is intended
> > for the exclusive use of the addressee. Any other person is strictly
> > prohibited from disclosing, distributing or reproducing it. If the
> > addressee cannot be reached or is unknown to you, please inform us
> > immediately and delete this e-mail message and destroy all copies. Thank
> you.
> >
> > _______________________________________________
> > OSRM-talk mailing list
> > OSRM-talk@openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/osrm-talk
> >
>
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
_______________________________________________
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to