Skip to main content

OpenStreetMap importer for PostGIS.

Project description

Imposm is an importer for OpenStreetMap data. It reads XML and PBF files and can import the data into PostgreSQL/PostGIS databases.

It is designed to create databases that are optimized for rendering/WMS services.

It is developed and supported by Omniscale, runs on Linux or Mac OS X and is released as open source under the Apache Software License 2.0.

See for more information.


2.6.0 2015-01-10

  • improve load performance of large limit-to geometries

  • check connection before reading and fail if unable to connect

  • new BoundaryPolygons mapping class that keeps inserted ways

  • quote column names when generalizing table

  • only skip import of polygons if way was inserted as multipolygon

  • only look for tables/views/indexes with schema=public when rotating tables

  • updated generated code for internal cache

  • minor fixes

2.5.0 2012-12-06

  • PostGIS 2 support

  • new –limit-to option to limit imports to polygons

  • added –quiet option that only logs progress once per minute

  • add StringIndex and Index mappings for PostgreSQL

  • always drop tables _and_ views with same name before creating new table/view. allows to change mappings from views to tables and vice versa.

  • internal refactoring to make support for non SQL databases easier

2.4.0 2012-03-30

  • new Class and Type field types

  • add support to disable automatic type column

  • new –connection option

  • support for PostGIS Trigram indices

  • do not try to simplify empty geometries

  • limit progress logging to 5 times per second

  • use SERIAL as primary key to support multiple features with the same OSM ID

  • new optional splitting of long line strings

  • use BIGINT for OSM ID in Postgres to support 64bit OSM IDs

2.3.2 2011-09-05

  • fixed –table-prefix

  • add –debug option for more verbose output

  • fixed way merging

  • fixed default_name_fields for UnionViews

  • improved (contains) relation builder

2.3.1 2011-07-05

  • DROP views instead of REPLACE to prevent errors when columns changed

2.3.0 2011-07-05

  • new PseudoArea field type

  • new Name and LocalizedName field type

  • update SRS in GeneralizedTables and UnionTables

  • new waterareas_gen0|1 in default style

  • new area field in landusages table

  • new meter_to_mapunit function to use same mapping for EPSG:4326 and projected SRS

2.2.0 2011-06-01

  • support for Shapely speedups (>=1.2.10)

  • new –port option for PostgreSQL port

  • reduced size of nodes cache by ~40%

  • store inserted ways in extra cache

  • support for relations type=boundary

  • new faster relation builder that supports relations with >1000 rings

  • set import options in mapping file

    • import_partial_relations=True/False

    • relation_builder=contains(new)/union(old)

    • imposm_multipolygon_report=60(seconds)

    • imposm_multipolygon_max_ring=0

2.1.3 2011-04-19

  • support for colons and other special chars in field and table names (e.g. de:name)

2.1.2 2011-04-13

  • make it work on 32bit systems

2.1.1 2011-04-12

  • new --proj option to change DB projection from EPSG:900913

  • abort if there are existing cache files

  • new --merge-cache and --overwrite-cache options

2.1.0 2011-03-29

  • first open source release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imposm-2.6.0.tar.gz (117.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page