Osm2pgsql Documentation
Installation
Instructions for downloading and installing osm2pgsql on different architectures.
Manual v2
The manual contains all the details about running the current osm2pgsql version 2.x.y.
Manual v1
This is the manual for older versions of osm2pgsql (1.x.y).
Tutorials
Tutorials help new and advanced users with specific tasks around osm2pgsql.
Man Pages
The man pages have short overviews about running the osm2pgsql and osm2pgsql-replication commands.
FAQ
The FAQ is a list of frequently asked questions and answers.
Community Docs
Blog posts, videos, and more on osm2pgsql from the community.
Releases
All releases with release notes and download links.
Related Documentation
If you want to set up a whole rendering toolchain to create maps from OSM data, you need more than just osm2pgsql. Have a look at switch2osm to get started.
You'll need to understand how PostgreSQL works to make the most out of osm2pgsql. Understanding at least a bit of the SQL query language and something about PostgreSQL configuration is important.
The PostGIS plugin extends the PostgreSQL database with geometry data types such as `POINT` or `POLYGON`, the geometry operations that manipulate those data types, and special geometry indexes.