GisForWeb
All tools
osm2pgsql logo

osm2pgsql

Open Source

Import OpenStreetMap data into a PostgreSQL/PostGIS database for map rendering and analysis.

Stars

1.7k

Last commit

2 weeks ago

License

GPL-2.0

Founded

2006

About

osm2pgsql is a tool for loading OpenStreetMap data into a PostgreSQL/PostGIS database. It's optimized for rendering maps but can also be used for analysis and routing applications.

Features

  • Imports OSM data into PostgreSQL/PostGIS
  • Configurable table layout via Lua scripts
  • Reads OSM XML, PBF, and O5M formats
  • Updates database from replication diffs
  • Scales from small areas to the planet
  • Geometry building and generalization support