osm2pgsql-dev/osm2pgsql
Import OpenStreetMap data into a PostgreSQL/PostGIS database observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 94
- Release rhythm 68
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 99.5
- age_days: 5968
- days_rel: 59
- days_push: 40
- n_releases_24m: 7
Adoption not part of the score
1680 stars · 481 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
osm2pgsql is a command-line ETL tool that imports OpenStreetMap data in OSM, PBF, and O5M formats into a PostgreSQL/PostGIS database. It supports flexible Lua-configured table layouts, incremental updates from change files and replication diffs, and scales from small extracts to full planet imports.
Use cases
- import openstreetmap data into postgresql
- load osm pbf files into postgis
- set up a database for rendering map tiles
- keep an osm database up to date with replication diffs
- run a nominatim geocoder backend
- do geospatial analysis on osm data with postgis
- create a poi map from openstreetmap data
- export osm data to gis formats
When to choose
- you need OSM data in PostgreSQL/PostGIS for rendering, geocoding, or analysis
- you want configurable table layouts via Lua scripting
- you need incremental updates from OSM change files
- you need to scale from a city extract to a full planet import
When to avoid
- you need a general-purpose ETL tool for non-OSM data
- you want a GUI-based import tool
- your target database is not PostgreSQL/PostGIS
- you only need to view OSM data without a database
Facets
cli-tool · maturity stable
etl database geospatial databases developer-tools windows cli cross-platform openstreetmap postgis postgresql osm-pbf map-rendering nominatim geocoding data-import replication geospatial maps linux macos
10 sources
- readme: https://github.com/osm2pgsql-dev/osm2pgsql · fetched 2026-08-28 · b79455408e64
- homepage: https://osm2pgsql.org · fetched 2026-08-29 · 3d59cda4d41b
- site_page: https://osm2pgsql.org/about · fetched 2026-08-29 · a01820560284
- site_page: https://osm2pgsql.org/about/features · fetched 2026-08-29 · df1d77360391
- site_page: https://osm2pgsql.org/about/history · fetched 2026-08-29 · 188a663940c0
- site_page: https://osm2pgsql.org/about/users · fetched 2026-08-29 · 0cfcccb24e12
- site_page: https://osm2pgsql.org/about/road-map.html · fetched 2026-08-29 · 68eeeea40266
- site_page: https://osm2pgsql.org/doc/install.html · fetched 2026-08-29 · bdaad262318e
- site_page: https://osm2pgsql.org/doc · fetched 2026-08-29 · 7ea199f69b7b
- site_page: https://osm2pgsql.org/doc/faq.html · fetched 2026-08-29 · 03a6d5e1796a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| osm2pgsql-dev/osm2pgsql | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="osm2pgsql-dev/osm2pgsql")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem