Thanks Richard and Richard, this is very helpful.

Artur...

-----Original Message-----
OSRM doesn't currently support route relations. You can either 'paint'
ways that are members of relations with a special tag in a pre-processing step 
(how to do this is left as an exercise to the reader
:) but look at Osmosis), or use Emil Tin's very old fork of OSRM with relation 
support.

Richard

-----Original Message-----
From: Richard Marsden [mailto:[email protected]]
Sent: Tuesday, January 19, 2016 6:36 PM
To: Mailing list to discuss Project OSRM <[email protected]>
Subject: 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 <[email protected]> 
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
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk
>

_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk
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
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to