osm2pgrouting

Tool to import OpenStreetMap data into a pgRouting database

Install

All systems
curl cmd.cat/osm2pgrouting.sh
Debian Debian
apt-get install osm2pgrouting
Ubuntu
apt-get install osm2pgrouting
image/svg+xml Kali Linux
apt-get install osm2pgrouting
Windows (WSL2)
sudo apt-get update sudo apt-get install osm2pgrouting
OS X
brew install osm2pgrouting
Raspbian
apt-get install osm2pgrouting

osm2pgrouting

Tool to import OpenStreetMap data into a pgRouting database

osm2pgrouting is a command line tool that makes it easy to import OpenStreetMap data into a pgRouting database. It builds the routing network topology automatically and creates tables for feature types and road classes. pgRouting has to be installed to be able to run osm2pgrouting.