The Data Preprocessing Pipeline transorms raw OpenStreetMap (OSM) data into optimized routing graphs that can be efficiently queried by OSRM's routing engine.
Download OSM File For Algeria from this link
Data Preprocessing Pipeline Overview
The pipeline supports two algorithmic approaches:
Contraction Hierarchies (CH): Uses osrm-extract, osrm-contract for graph contraction.
Multi-Level Dijkstra (MLD): Uses osrm-extract, osrm-partition followed by osrm-customize
For our case we're using Contraction Hierarchies, So we extract *.osm by executing these commands:
These commands will generate for you these files: