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
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
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
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
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