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