-
Notifications
You must be signed in to change notification settings - Fork 68
OSRM converter
The OSRM packages are used for legacy-routing within CARTO Mobile SDK. The packages are usually split by country (or state) and by routing profile (either 'car', 'foot' or 'bicycle'). The following steps describe how to convert packages for a specified profile from OSM Planet data.
At the very high level, building packages involves executing 3 steps in parallel: osrm-extract, osrm-prepare and osrm-convert.
The conversion process for the whole planet requires considerable resources. Namely, at least 128GB of RAM is required to run the osrm-extract, osrm-prepare and osrm-convert steps. The conversion tools can be compiled both for Windows and Linux targets.
These steps require the osrm-backend project from osrm-backend-nutiteq. Note that the latest official OSRM package WILL NOT WORK as the data files are not compatible between OSRM versions and osrm-convert (which is a separate project) depends on specific version.
The instructions for building and running the osrm-backend can be found in the project repository.
This step uses the osrm-converter project.
The instructions for building and running the osrm-backend can be found in the project repository.