Permalink
Browse files

initial osrm setup

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

0 comments on commit 5cc9324

Please sign in to comment.