Skip to content

Toolchain file overview

Patrick Niklaus edited this page Mar 17, 2017 · 21 revisions

File overview

Files produced by osrm-extract

File type Consumer Description
.ebg osrm-contract Uncontracted edge based graph used as input for contractor
.edge_penalties osrm-contract Gone in OSRM >5.6 Lookup file contains static edge penalties. Only created when --generate-edge-lookup is passed.
.turn_weight_penalties osrm-contract, osrm-routed Contains turn weight.
.turn_duration_penalties osrm-contract, osrm-routed Contains turn duration.
.edge_segment_lookup osrm-contract Gone in OSRM >5.7. Lookup file that translates between OSM ids and internal segment ids. Only created when --generate-edge-lookup is passed.
.enw osrm-contract Contains the edge weights of the compressed EdgeBasedNodes
.geometry osrm-contract, osrm-routed Geometry that was removed from the original graph. Used for returned API response.
.nodes osrm-contract, osrm-routed Original graph nodes (compressed geometry)
.edges osrm-routed Original graph edges (compressed geometry)
.fileIndex osrm-routed Leaves of the R-Tree that are loaded on-demand to memory
.icd osrm-routed Data used to generate representations of all intersections for routing steps.
.names osrm-routed Street names and index
.properties osrm-routed Lua profile properties that affect run time queries
.ramIndex osrm-routed Index of the R-Tree to to segment lookups
.timestamp osrm-routed Contains the timestamps of the OSM extract if the header is set.
.tld osrm-routed Contains a map of turn lane tuples and ids
.tls osrm-routed Holds turn lane descriptions which are stored as a vector of masks
.osrm Temporary Original filtered graph data (nodes and edges)
.restrictions Temporary Intermediate representation of turn restrictions

Files produced by osrm-contract

File type Consumer Description
.core osrm-routed Indicates which nodes of the graph have been contracted
.datasource_indexes osrm-routed Gone in OSRM >5.7. Contains index corresponding to datasource_names file indicating from where a segment's data was derived
.datasource_names osrm-routed List of datasources input to generate the final graph
.hsgr osrm-routed Contracted edge-expanded graph (nodes and edges)
.level osrm-contract Cache of the contraction level, speeds up subsequent osrm-contract runs