Osrm-backend 2016

From HPC users
Jump to navigationJump to search


High performance routing engine written in C++14 designed to run on OpenStreetMap data. 1

Installed version(s)

The following versions are installed and currently available...

... on environment hpc-env/8.3:

  • osrm-backend/5.25.0-foss-2019b
  • osrm-backend/5.26.0-foss-2019b
  • osrm/3.4.1-foss-2019b-R-4.1.0-2021.06 ### osrm includes osrm-backend as loaded module
  • osrm/3.5.1-foss-2019b-R-4.1.0-2021.06

Loading / Using osrm-backend

To load the desired version of the module, use the module load command, e.g.

module load hpc-env/8.3
module load osrm

Always remember: this command is case sensitive!

The osrm module loads osrm-backend aswell, but osrm itself includes the following R packages:

  • GISTools
  • googlePolylines
  • ibdreg
  • osrm
  • osrmr
  • plm
  • rgeos
  • s2
  • spd
  • spdep
  • splm
  • wk

osrm-backend provides different executables, namely osrm-components, osrm-contrac,t osrm-customize, osrm-datastore, osrm-extract, osrm-io-benchmark, osrm-partition, and osrm-routed

To find out on how to use the executables, you can just call most of the executables without any arguments to print out a help text to get you started.

$ osrm-contract
Usage: osrm-contract <input.osrm> [options]:

  -v [ --version ]                      Show version
  -h [ --help ]                         Show this help message
  -l [ --verbosity ] arg (=INFO)        Log verbosity level: NONE, ERROR, 
                                        WARNING, INFO, DEBUG

  -t [ --threads ] arg (=24)            Number of threads to use
  -k [ --core ] arg (=1)                DEPRECATED: Will always be 1.0. 
                                        Percentage of the graph (in vertices) 
                                        to contract [0..1].
  --segment-speed-file arg              Lookup files containing nodeA, nodeB, 
                                        speed data to adjust edge weights
  --turn-penalty-file arg               Lookup files containing from_, to_, 
                                        via_nodes, and turn penalties to adjust
                                        turn weights
  -o [ --level-cache ]                  DEPRECATED: Will always be false. Use 
                                        .level file to retain the contraction 
                                        level for each node from the last run.
  --edge-weight-updates-over-factor arg (=0)
                                        Use with `--segment-speed-file`. 
                                        Provide an `x` factor, by which 
                                        Extractor will log edge weights updated
                                        by more than this factor
  --parse-conditionals-from-now arg (=0)
                                        Optional for conditional turn 
                                        restriction parsing, provide a UTC time
                                        stamp from which to evaluate the 
                                        validity of conditional turn 
  --time-zone-file arg                  Required for conditional turn 
                                        restriction parsing, provide a geojson 
                                        file containing time zone boundaries


The full documentation can be found here or at the GitHubpPage.