Description:
Import OSM data into pgRouting database
|
|
Type: Formula
|
Latest Version: 3.0.0@0
|
Tracked Since: Oct 24, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Databases
|
|
Tags:
pgrouting
osm
postgis
postgresql
routing
geospatial
|
|
Install:
brew install osm2pgrouting
|
About:
osm2pgrouting is a command-line tool designed to import OpenStreetMap (OSM) data into a PostgreSQL database with the pgRouting extension. It automatically parses OSM XML files to create a routable network topology, handling node and way relationships. This enables complex geospatial routing analysis directly on real-world road data.
|
Key Features:
- Automated OSM XML parsing and database import
- Automatic generation of routable network topology
- Supports custom configuration files for mapping OSM tags
- Integration with PostgreSQL/PostGIS and pgRouting
|
Use Cases:
- Building routing engines for navigation and logistics applications
- Urban planning and transportation network analysis
- Creating custom map databases for applications requiring offline routing
|
Alternatives:
-
osrm-extract
– OSRM is a high-performance C++ routing engine, whereas osm2pgrouting focuses on preparing data within a PostgreSQL database for flexible SQL-based routing queries.
-
imposm
– Imposm is a general-purpose OSM importer for PostGIS, while osm2pgrouting is specialized specifically for pgRouting topology creation.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Oct 24, 2025 12:43am |
|
0 |
VERSION_BUMP |
2e2422b1 |
| Sep 17, 2025 12:54pm |
|
17 |
VERSION_BUMP |
8be5c42e |
| Dec 22, 2024 6:53pm |
|
15 |
VERSION_BUMP |
23aa4031 |
| Dec 16, 2024 6:40am |
|
14 |
VERSION_BUMP |
ab9a12c5 |
| Sep 14, 2024 6:45am |
|
13 |
VERSION_BUMP |
dd6a0cfa |
| Jan 25, 2024 10:36pm |
|
10 |
VERSION_BUMP |
9a2baf28 |
| Jan 24, 2024 10:43pm |
|
10 |
VERSION_BUMP |
0da9db5d |
| Oct 23, 2023 2:19am |
|
9 |
VERSION_BUMP |
a4048e8d |
| Oct 4, 2023 9:18am |
|
8 |
VERSION_BUMP |
8ca4477a |
| Jan 9, 2023 8:40pm |
|
6 |
VERSION_BUMP |
9378d063 |
| Jan 9, 2023 8:40pm |
|
6 |
VERSION_BUMP |
2990c3d0 |
|