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

2016-01-21 Thread Richard Marsden
github.com/Project-OSRM/osrm-backend/blob/develop/src/tools/routed.cpp#L105 > > It works either with the internal facade, or the shared memory option. > > Daniel > > On Jan 20, 2016 8:25 PM, "Richard Marsden" wrote: >> >> Is it possible to have multi-

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

2016-01-20 Thread Richard Marsden
ory in the libosrm_config would help...? The scenario I'm looking at would use the same road/graph files. Richard Marsden ___ OSRM-talk mailing list OSRM-talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/osrm-talk

Re: [OSRM-talk] Bus routes

2016-01-19 Thread Richard Marsden
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 f

Re: [OSRM-talk] How to disable all ferry routes?

2015-11-11 Thread Richard Marsden
> > As you can see, even though it is quite a bit of effort tracing back specific > variables, it can be done in a few minutes with only the most basic tools (I > did this entirely using the Github search functionality --- of course you can > use grep or your code browser of

Re: [OSRM-talk] How to disable all ferry routes?

2015-11-11 Thread Richard Marsden
By coincidence I was working through the lua scripts trying to understand them. So what is the significance of the 1,2,3? Just unique identifiers. As long as they're non-zero, they will be enabled? Richard On Nov 11, 2015, at 9:23 AM, Daniel Hofmann wrote: > If you take a look at the car pro

Re: [OSRM-talk] Road speeds and profile restrictions

2015-10-15 Thread Richard Marsden
> profiles. The other way, that is using lua functions in C++ is mostly done > in the extractor implementation: I would recommend just searching for the > symbols you want to know more about: > >> >> https://github.com/Project-OSRM/osrm-backend/search?utf8=%E2%9C%93&q=node_fu

Re: [OSRM-talk] Road speeds and profile restrictions

2015-10-11 Thread Richard Marsden
y documentation as to the variables and/or functions that are expected? And the tags used in OSM that the script is expected to map? Cheers, Richard Marsden On Thu, Sep 17, 2015 at 4:37 PM, Patrick Niklaus wrote: > W.r.t. the pre-preprocessing you are correct. > >> What is that extra power

Re: [OSRM-talk] Road speeds and profile restrictions

2015-09-21 Thread Richard Marsden
is close to > what you would get with C++ and is generally more suited for > server-side code. > > > On Mon, Sep 21, 2015 at 6:50 PM, Richard Marsden wrote: >> Thanks, yes that got it working with mapbox::util::get, eg: >> >> double v = mapbox::util::get( (it-

Re: [OSRM-talk] Road speeds and profile restrictions

2015-09-21 Thread Richard Marsden
battered 2nd edition to the latest 4th edition. Seems like I need to catch up on boost, as well :-) Richard On Mon, Sep 21, 2015 at 10:14 AM, Richard Marsden wrote: > Thanks - yes, I'd found the definition of osrm::json::Object and > osrm::json::Value, and went through quite a few va

Re: [OSRM-talk] Road speeds and profile restrictions

2015-09-21 Thread Richard Marsden
_hello_world.cpp > > Because it mimics Boost.Variant, please have a look at the detailed tutorial > here: >> http://www.boost.org/doc/libs/1_59_0/doc/html/variant/tutorial.html > > It shows you among other things how to use the double dispatch visitor > pattern for extr

Re: [OSRM-talk] Road speeds and profile restrictions

2015-09-20 Thread Richard Marsden
m more > than to give the standard answer - more memory is faster more swapping is > slower. > > -Steve > > > > > On 9/17/2015 8:45 PM, Richard Marsden wrote: >> >> Thanks for the quick reply Patrick. >> >>> Presumably I could do the same for

Re: [OSRM-talk] Road speeds and profile restrictions

2015-09-17 Thread Richard Marsden
answer - more memory is faster more swapping is > slower. > > -Steve > > > > > On 9/17/2015 8:45 PM, Richard Marsden wrote: >> >> Thanks for the quick reply Patrick. >> >>> Presumably I could do the same for world preparation & routing? Have, >>&g

Re: [OSRM-talk] Road speeds and profile restrictions

2015-09-17 Thread Richard Marsden
is not even close to memory speed. > > You have two options: > - split the datasets > - get a bigger server > > Cheers, > Patrick > > > On Thu, Sep 17, 2015 at 10:06 PM, Richard Marsden wrote: >> I've been evaluating OSRM, using it primarily as a library fr

[OSRM-talk] Road speeds and profile restrictions

2015-09-17 Thread Richard Marsden
equiring 40GB of memory for pan-European routing. Presumably that could be offset with a large swap file(?) A large swap file has worked well when I was testing the US-South region on an 8GB machine. Presumably I could do the same for world preparation & routing? Have, perhaps a 100GB+ swap

[OSRM-talk] Libraries or Makefile for

2015-09-08 Thread Richard Marsden
program_options::error_with_option_name::what() I'm also not convinced I'm referencing the osrm library properly, either. Best regards, Richard Marsden PS: Yes I have some gcc and make books on order :-) ___ OSRM-talk mailing list OSRM-tal

[OSRM-talk] Build Fail: Could NOT find OSMPBF

2015-09-02 Thread Richard Marsden
PHSA_FAILURE_MESSAGE) cmake/FindOSMPBF.cmake:46 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:283 (find_package) It seems like I should either install OSMPBF or set one of those variables somewhere? Richard Marsden ___ OSRM-talk ma