Skip to content

Instantly share code, notes, and snippets.

@emiltin
Created August 12, 2014 13:27
Show Gist options
  • Save emiltin/e6d759426e282af61f6c to your computer and use it in GitHub Desktop.
Save emiltin/e6d759426e282af61f6c to your computer and use it in GitHub Desktop.
develop
develop
~/code/osrm-backend$ (develop) rake process denmark
[info] Input file: denmark.osm.pbf
[info] Profile: bicycle.lua
[info] Threads: 4
[info] Using script ../profiles/bicycle.lua
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] 1 disks are allocated, total space: 1000 MiB
[info] Ignoring turn restrictions
[info] Found 3 exceptions to turn restrictions:
[info] bicycle
[info] vehicle
[info] access
[info] Parsing in progress..
[info] Parsing finished after 96.504 seconds
[extractor] Sorting used nodes ... ok, after 0.322s
[extractor] Erasing duplicate nodes ... ok, after 0.096s
[extractor] Sorting all nodes ... ok, after 0.945s
[extractor] Sorting used ways ... ok, after 0.071s
[extractor] Sorting restrictions. by from... ok, after 0.001s
[extractor] Fixing restriction starts ... ok, after 0s
[extractor] Sorting restrictions. by to ... ok, after 0s
[extractor] Fixing restriction ends ... ok, after 0s
[info] usable restrictions: 0
[extractor] Confirming/Writing used nodes ... ok, after 1.065s
[extractor] setting number of nodes ... ok
[extractor] Sorting edges by start ... ok, after 1.185s
[extractor] Setting start coords ... ok, after 1.448s
[extractor] Sorting edges by target ... ok, after 1.213s
[extractor] Setting target coords ... ok, after 2.841s
[extractor] setting number of edges ... ok
[extractor] writing street name index ... ok, after 0.006s
[info] Processed 2906488 nodes and 3172940 edges
[info] extraction finished after 106.072s
[info] To prepare the data for routing, run: ./osrm-prepare denmark.osrm
[STXXL-ERRMSG] Removing disk file created from default configuration: /var/tmp/stxxl
[info] Input file: denmark.osrm
[info] Restrictions file: denmark.osrm.restrictions
[info] Profile: bicycle.lua
[info] Threads: 4
[info] Importing n = 2906488 nodes
[info] and 3172940 edges
[info] Graph loaded ok and has 3169733 edges
[info] 0 restrictions, 671 bollard nodes, 3462 traffic lights
[info] Generating edge-expanded graph representation
[info] merged 0 edges out of 6234018
[info] Removing graph geometry while preserving topology
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] removed 2049075 nodes
[info] Geometry successfully removed:
compressed edges: 1083500
compressed geometries: 5180618
longest chain length: 494
cmpr ratio: 0.209145
avg chain length: 4.78137
[info] new nodes: 857413, edges 2135868
[info] Node compression ratio: 0.295
[info] Edge compression ratio: 0.342615
[info] Identifying components of the road network
[info] identified: 2061885 many components
[info] generating edge-expanded nodes
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 3116998 nodes in edge-expanded graph
[info] generating edge-expanded edges
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 3116998 edge based nodes
[info] Node-based graph contains 2124138 edges
[info] Edge-expanded graph ...
[info] contains 4133932 edges
[info] skips 0 turns, defined by 0 restrictions
[info] skips 1903493 U turns
[info] skips 1315 turns over barriers
[info] Timing statistics for edge-expanded graph:
[info] Geometry compression: 2.708s
[info] Renumbering edges: 0.02s
[info] Generating nodes: 1.204s
[info] Generating edges: 3.744s
[info] building r-tree ...
[info] constructing r-tree of 3116998 edge elements build on-top of 2906488 coordinates
[info] finished r-tree construction in 1.333 seconds
[info] using hardware based CRC32 computation
[info] CRC32: 696145463
[info] writing node map ...
[info] initializing contractor
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] 1 disks are allocated, total space: 1000 MiB
merged 5984 edges out of 8267864
contractor finished initalization
initializing elimination PQ ...ok
preprocessing 2124138 nodes .... 10% . 20% . 30% . 40% . 50% . 60% . [flush 1393575 nodes] 70% . 80% . 90% . 100%
[info] Contraction took 475.228 sec
[info] Getting edges of minimized graph
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Serializing compacted graph of 11968278 edges
[info] Building node array
[info] Serializing node array
[info] Building edge array
[info] Preprocessing : 493.811 seconds
[info] Expansion : 213728 nodes/sec and 156198 edges/sec
[info] Contraction: 4469.72 nodes/sec and 25184.3 edges/sec
[info] finished preprocessing
[STXXL-ERRMSG] Removing disk file created from default configuration: /var/tmp/stxxl
~/code/osrm-backend$ (develop *) ls -l sandbox/denmark.osrm*
-rw-r--r-- 1 emil staff 138519232 Aug 12 14:53 sandbox/denmark.osrm
-rw-r--r-- 1 emil staff 49607188 Aug 12 14:53 sandbox/denmark.osrm.edges
-rw-r--r-- 1 emil staff 137162648 Aug 12 14:53 sandbox/denmark.osrm.fileIndex
-rw-r--r-- 1 emil staff 25056484 Aug 12 14:53 sandbox/denmark.osrm.geometry
-rw-r--r-- 1 emil staff 152116060 Aug 12 15:01 sandbox/denmark.osrm.hsgr
-rw-r--r-- 1 emil staff 727785 Aug 12 14:53 sandbox/denmark.osrm.names
-rw-r--r-- 1 emil staff 34877860 Aug 12 14:53 sandbox/denmark.osrm.nodes
-rw-r--r-- 1 emil staff 853672 Aug 12 14:53 sandbox/denmark.osrm.ramIndex
-rw-r--r-- 1 emil staff 160 Aug 12 14:53 sandbox/denmark.osrm.restrictions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment