osm2pgsql - OpenStreetMap data to PostgreSQL converter

Distribution: Debian 7 (Wheezy)
Repository: Debian Main amd64
Package name: osm2pgsql
Package version: 0.80.0+r27899
Package release: 4
Package architecture: amd64
Package type: deb
Installed size: 303 B
Download size: 189.03 KB
Official Mirror: ftp.br.debian.org
Convert OSM planet snapshot data to SQL suitable for loading into a PostgreSQL database with PostGIS geospatial extensions. This database may then be used to render maps with Mapnik or for other geospatial analysis.



    Source package: osm2pgsql

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install osm2pgsql deb package:
      # sudo apt-get install osm2pgsql


    • /usr/bin/osm2pgsql
    • /usr/share/doc/osm2pgsql/AUTHORS
    • /usr/share/doc/osm2pgsql/NEWS.gz
    • /usr/share/doc/osm2pgsql/README.gz
    • /usr/share/doc/osm2pgsql/TODO
    • /usr/share/doc/osm2pgsql/changelog.Debian.gz
    • /usr/share/doc/osm2pgsql/changelog.gz
    • /usr/share/doc/osm2pgsql/copyright
    • /usr/share/doc/osm2pgsql/examples/900913.sql
    • /usr/share/doc/osm2pgsql/examples/autogen.sh
    • /usr/share/doc/osm2pgsql/examples/install-postgis-osm-db.sh
    • /usr/share/doc/osm2pgsql/examples/install-postgis-osm-user.sh
    • /usr/share/doc/osm2pgsql/examples/ltmain.sh.gz
    • /usr/share/doc/osm2pgsql/examples/mapnik-osm-updater.sh.gz
    • /usr/share/doc/osm2pgsql/examples/osm2pgsql-svn.sh
    • /usr/share/man/man1/osm2pgsql.1.gz
    • /usr/share/osm2pgsql/900913.sql
    • /usr/share/osm2pgsql/default.style


    2012-09-23 - David Paleino <dapal@debian.org> osm2pgsql (0.80.0+r27899-4) unstable; urgency=low * Added debian/NEWS.Debian explaining what changes from the 32-bit version.

    2012-09-23 - David Paleino <dapal@debian.org> osm2pgsql (0.80.0+r27899-3) unstable; urgency=low * Update Recommends of postgresql-8.4-postgis to -9.1 * Backport support for 64-bit IDs (Closes: #687965)

    2012-02-26 - David Paleino <dapal@debian.org> osm2pgsql (0.80.0+r27899-1) unstable; urgency=low * New SVN snapshot * Strip the debian/ directory from the SVN checkout * Standards-Version bump to 3.9.3, no changes needed * Updated debian/copyright * Patches refreshed to apply to new source * Switch build-dependency from libgeos-dev to libgeos++-dev

    2011-01-19 - David Paleino <dapal@debian.org> osm2pgsql (0.70.5+r25090-2) unstable; urgency=low * Fix Maintainer e-mail address

    2011-01-18 - David Paleino <dapal@debian.org> osm2pgsql (0.70.5+r25090-1) unstable; urgency=low * New SVN snapshot * debian/control: - fix Vcs-* fields to point to the git repository. - added pkg-osm to Uploaders * Bump Standards-Version to 3.9.1, no changes needed * Use "3.0 (quilt)" format * Removed useless dpatch machinery * Use dh7 for debian/rules * Improve get-orig-source target * Wrapped multi-value fields in debian/control * Bump debhelper compatibility to 8 * debian/docs updated * Use new DebianGIS e-mail address * Add Build-Dependencies on zlib, protobuf-c and dh-autoreconf * Use DEP-5 for debian/copyright * Clean protoc-generated files during the clean target * Updated manpage * Fix FTBFS, due to missing linkage with zlib (00-fix_build.patch) * Remove 'gazetteer' from the packaged examples. It has become quite huge (90M unpacked), and I suppose not much people need it. It might become a separate binary package in future, though. Also remove it from the "orig" tarball. I'll reintroduce it as soon as someone actually asks for it. * Don't actually build gazetteer (01-disable_gazetteer.patch)

    2010-09-05 - David Paleino <dapal@debian.org> osm2pgsql (0.69+r20104-2) unstable; urgency=low [ Francesco Paolo Lovergine ] * Changed debian/rules to autodetect latest svn revision and upstream version. * Now recommends both postgis and last available postgresql-postgis revision. (closes: #559604) * Fixed previous changelog for repeated logs. [ David Paleino ] * debian/control: - fix Vcs-* fields to point to trunk only. - added myself to Uploaders

    2010-02-22 - Francesco Paolo Lovergine <frankie@debian.org> osm2pgsql (0.69+r20104-1) unstable; urgency=low * Added 900913.sql, containing EPSG:900913 for postgis, as example. (Andreas) * New upstream svn snapshot as taken from upstream svn. Now using svn release number instead of date to identify better the relevant snapshot. * Patch 01_style_location merged upstream. * Added Vcs-* fields to debian/control. * Policy bumped to 3.8.4 without changes. * Added a new set of examples (gazetteer and other scripts).

    2009-06-08 - Andreas Putzo <andreas@putzo.net> osm2pgsql (0.66.20090526-1) unstable; urgency=low * New upstream svn snapshot. (Closes: #532145) * Removed 10-missing-includes patch, fixed upstream. * Updated long description, mostly taken from osm2pgsql.spec.in. * Updated copyright year of debian packaging. * Added DM-Upload-Allowed to debian/control. * Added 01_style_location patch from Frederik Ramm to reflect path of style files on debian systems. * Use dh_prep instead of dh_clean -k to fix a lintian warning. * Updated manpage.

    2009-05-26 - Francesco Paolo Lovergine <frankie@debian.org> osm2pgsql (0.52.20080408-3) unstable; urgency=high * Updated build-dep: proj -> libproj-dev. * Added Homepage field. * Added me as uploader. * Policy bumped to 3.8.1. * Debhelper compatibility moved to 7. * Now recommends postgis 8.3 extension. * Added me as uploader.