Re: [OSRM-talk] Multi-threaded calls to the C++ library interface

2016-01-20 Thread Daniel Patterson
Hi Richard, Yes, it works, this is what osrm-routed does, there is only a single instance of the OSRM object shared between multiple threads: https://github.com/Project-OSRM/osrm-backend/blob/develop/src/tools/routed.cpp#L105 It works either with the internal facade, or the shared memory

[OSRM-talk] Multi-threaded calls to the C++ library interface

2016-01-20 Thread Richard Marsden
Is it possible to have multi-threaded (i.e. multiple simultaneous) calls using the C++ library interface? E.g. with one "OSRM" object shared between the threads; or with multiple OSRM objects, one per thread? Presumably the latter case would be memory hungry, but enabling shared_memory in the

Re: [OSRM-talk] Bus routes

2016-01-20 Thread Artur Bialecki
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

[OSRM-talk] OSRM for Mobile Apps

2016-01-20 Thread Bharath Mg
Hey Guys, First of all, a big thanks to all the OSRM contributors for making this routing engine super awesome!  I'm trying to use/develop offline routing for mobile applications. I've used OSRM for my web services and it has worked really well. So I was wondering if I could use OSRM for

Re: [OSRM-talk] OSRM-talk Digest, Vol 37, Issue 8

2016-01-20 Thread Richard Fairhurst
Artur Bialecki wrote: 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 OSRM doesn't currently support route relations. You can either 'paint' ways that are members of relations with a