What is Imposm?
masterImposm is an importer for OpenStreetMap (OSM) data. It reads PBF files and imports the data into PostgreSQL/PostGIS databases. It is specifically designed to create databases optimized for rendering, tile services, and map services.
Key capabilities include:
- Custom database schemas: Creates separate tables for different feature types to improve styling and rendering performance.
- Parallel processing: Designed from the ground up to distribute parsing and processing across multiple CPU cores.
- Data unification: Normalizes values (e.g., converting
1,on,true, andyestoTRUE). - Tag filtering: Allows importing only the specific data needed for rendering or use.
- Efficient node caching: Uses a file-based key-value database to cache nodes, reducing memory usage during the construction of ways and relations.
- Generalized tables: Can automatically create tables with lower spatial resolutions.
- Geometry limiting: Can limit imported geometries to polygons from GeoJSON.
- hstore support: Can store all OSM tags in a PostgreSQL
hstorecolumn if specific tags are unknown beforehand.