Skip to content
This repository
Browse code

initial osrm setup

  • Loading branch information...
commit 5cc9324c66cb9eb78bff5fb75a6b45fea900106c 0 parents
Emil Tin emiltin authored
2  contractor.ini
... ... @@ -0,0 +1,2 @@
  1 +Threads = 4
  2 +SRTM = /opt/storage/srtm/Eurasia
1  extractor.ini
... ... @@ -0,0 +1 @@
  1 +Memory = 2
30 osrm.conf
... ... @@ -0,0 +1,30 @@
  1 +# osrm
  2 +
  3 +description "Open Source Routing Machine"
  4 +author "Emil Tin <emil.tin@tmf.kk.dk>"
  5 +
  6 +# Stanzas
  7 +#
  8 +# Stanzas control when and how a process is started and stopped
  9 +# See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas#respawn
  10 +# See more at http://upstart.ubuntu.com/cookbook/
  11 +
  12 +# When to start the service
  13 +start on runlevel [2345]
  14 +
  15 +# When to stop the service
  16 +stop on runlevel [016]
  17 +
  18 +# Automatically restart process if crashed
  19 +respawn
  20 +
  21 +# Essentially lets upstart know the process will detach itself to the background
  22 +expect fork
  23 +
  24 +# Start the process
  25 +
  26 +script
  27 + cd /root/Project-OSRM/sandbox
  28 + ../osrm-routed 1>>osrm-routed.log 2>>osrm-routed.log
  29 +end script
  30 +
10 server.ini
... ... @@ -0,0 +1,10 @@
  1 + Threads = 1
  2 + IP = 83.221.133.2
  3 + Port = 80
  4 +
  5 + hsgrData=osm_data/combined.osrm.hsgr
  6 + nodesData=osm_data/combined.osrm.nodes
  7 + edgesData=osm_data/combined.osrm.edges
  8 + ramIndex=osm_data/combined.osrm.ramIndex
  9 + fileIndex=osm_data/combined.osrm.fileIndex
  10 + namesData=osm_data/combined.osrm.names
32 speedprofile.ini
... ... @@ -0,0 +1,32 @@
  1 +[bicycle]
  2 + accessTag = bicycle
  3 + defaultSpeed = 18
  4 + obeyOneways = yes
  5 + useRestrictions = yes
  6 + obeyBollards = no
  7 + turnPenalty = 60
  8 + turnBias = 1.4
  9 + trafficSignalPenalty = 12
  10 + takeMinimumOfSpeeds = yes
  11 + accessRestrictionKeys = destination
  12 +
  13 + cycleway = 18
  14 + primary = 17
  15 + primary_link = 17
  16 + secondary = 18
  17 + secondary_link = 18
  18 + tertiary = 18
  19 + residential = 18
  20 + unclassified = 16
  21 + living_street = 16
  22 + road = 16
  23 + service = 16
  24 + track = 13
  25 + path = 13
  26 + footway = 5
  27 + pedestrian = 5
  28 + pier = 5
  29 + steps = 1
  30 +
  31 +# excludeFromGrid = ferry
  32 +# ferry = 5

0 comments on commit 5cc9324

Please sign in to comment.
Something went wrong with that request. Please try again.