The following commit has been merged in the master branch:
commit b26f08bdf198dfeb8f2649839ab13d6e78e3c340
Author: Andrew Harvey <>
Date:   Sun Sep 23 11:04:06 2012 +1000

    Update manpage

diff --git a/debian/changelog b/debian/changelog
index 0f3c369..5cb109b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ osm2pgsql (0.81.0+r28712-1) UNRELEASED; urgency=low
   * Patches refreshed to apply to new source
   * Update debian/rules get-orig-source to not bother trying to remove the
     gazetteer as it is no longer included upstream
+  * Update manpage
  -- Andrew Harvey <>  Sun, 23 Sep 2012 10:03:25 +1000
diff --git a/debian/osm2pgsql.1 b/debian/osm2pgsql.1
index 637408f..5f008ec 100644
--- a/debian/osm2pgsql.1
+++ b/debian/osm2pgsql.1
@@ -1,4 +1,4 @@
-.TH OSM2PGSQL 1 "May 26, 2009"
+.TH OSM2PGSQL 1 "September 23, 2012"
 .\" Please adjust this date whenever revising the manpage.
 osm2pgsql \- Openstreetmap data to PostgreSQL converter.
@@ -7,7 +7,7 @@ osm2pgsql \- Openstreetmap data to PostgreSQL converter.
 .RI [ options ] " planet.osm"
 .B osm2pgsql
-.RI [ options ] " planet.osm.{gz,bz2}"
+.RI [ options ] " planet.osm.{gz,bz2,pbf}"
 .B osm2pgsql
 .RI [ options ] " file1.osm file2.osm file3.osm"
@@ -45,6 +45,26 @@ default if \fB\-\-append\fR is not specified.
 The name of the PostgreSQL database to connect
 to (default: \fIgis\fR).
+\fB\-i\fR, \fB\-\-tablespace\-index
+The name of the PostreSQL tablespace where all indexes will be created.
+If unset, use db's default; \fB\-i\fR is equivalent to setting
+\fB\-\-tablespace\-main\-index\fR and \fB\-\-tablespace\-slim\-index\fR
+The following options allow more fine-grained control:
+tablespace for main tables
+tablespace for main table indexes
+tablespace for slim mode tables
+tablespace for slim mode indexes
 \fB\-l\fR, \fB\-\-latlong
 Store data in degrees of latitude & longitude.
@@ -66,18 +86,24 @@ Prefix for table names (default \fIplanet_osm\fR)
 \fB\-s\fR, \fB\-\-slim
 Store temorary data in the database. This greatly reduces the RAM usage but is 
much slower.
+This switch is required if you want to update with \fB\-\-append\fR later.
+Used with \fB\-\-slim\fR option to drop temporary tables after import, 
eliminating the
+ability to apply updates.
 \fB\-S\fR, \fB\-\-style
 Location of the style file. Default to \fI/usr/share/osm2pgsql/\fR
 \fB\-C\fR, \fB\-\-cache
-Only for slim mode: Use up to this this many MB for caching nodes. Default is 
+Use up to this this many MB for caching nodes. Default is 800MB.
 \fB\-U\fR, \fB\-\-username
 Postgresql user name.
 \fB\-W\fR, \fB\-\-password
 Force password prompt.
+If omitted, password will be sourced from prompt or PGPASS environment 
 \fB\-H\fR, \fB\-\-host
 Database server hostname or socket location.
@@ -105,6 +131,8 @@ Output backend.
 \fIpgsql\fR - Output to a PostGIS database. (default)
+\fIgazetteer\fR - Output to a PostGIS database suitable for gazetteer.
 \fInull\fR - No output. Useful for testing.
 \fB\-x\fR, \fB\-\-extra-attributes
@@ -115,11 +143,18 @@ This includes the username, userid, timestamp and version.
 \fINote\fR: this option also requires additional entries in your style file.
 \fB\-k\fR, \fB\-\-hstore
-Generate an additional hstore (key/value) column to postgresql tables
+Add tags without column to an additional hstore (key/value) column to 
postgresql tables
+Only keep objects that have a value in one of the columns (normal action with
+\fB\-\-hstore\fR is to keep all objects)
+\fB-j\fR, \fB\-\-hstore\-all
+Add all tags to an additional hstore (key/value) column in postgresql tables
 \fB\-z\fR, \fB\-\-hstore-column
-Generate an additional hstore (key/value) column to containing all tags
-that start with the specified string, for example \-\-hstore-column "name:" 
+Add an additional hstore (key/value) column to containing all tags
+that start with the specified string, for example \fB\-\-hstore\-column\fR 
"name:" will
 produce an extra hstore column that contains all name:xx tags
 \fB\-G\fR, \fB\-\-multi-geometry
@@ -131,6 +166,34 @@ Keep coastline data rather than filtering it out.
 By default \fInatural=coastline\fR tagged data will be discarded based on the
 assumption that post-processed Coastline Checker shapefiles will be used.
+\fB\-\-number\-processes\fR \fInum_processes\fR
+Specifies the number of parallel processes used for certain operations
+Default is 1
+\fB\-I\fR, \fB\-\-disable\-parallel\-indexing\fR
+Disable indexing all tables concurrently.
+Use unlogged tables (lost on crash but faster). Requires PostgreSQL 9.1.
+Specifies the method used to cache nodes in ram. Available options are:
+\fIdense\fR - caching strategy optimised for full planet import
+\fIchunked\fR - caching strategy optimised for non-contigouse memory allocation
+\fIsparse\fR - caching strategy optimised for small extracts
+\fIoptimized\fR - automatically combines dense and sparse strategies for 
optimal storage efficiency.
+optimized may use twice as much virtual memory, but no more physical memory 
+Specifies the flat file to use to persistently store node information in slim
+mode instead of in pgsql.This file is a single > 16Gb large file. This method
+is only recomended for full planet imports as it doesn't work well with small
+extracts. The default is disabled.
 \fB\-h\fR, \fB\-\-help
 Help information.

OpenStreetMap data to PostgreSQL converter

Pkg-grass-devel mailing list

Reply via email to