Skip to content

Commit 0805212

Browse files
committed
Update included man page
1 parent d8a29e7 commit 0805212

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

docs/osm2pgsql.1

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.TH "OSM2PGSQL" "1" "1.8.1" "" ""
22
.SH NAME
33
.PP
4-
osm2pgsql - Openstreetmap data to PostgreSQL converter
4+
osm2pgsql - OpenStreetMap data to PostgreSQL converter
55
.SH SYNOPSIS
66
.PP
77
\f[B]osm2pgsql\f[R] [\f[I]OPTIONS\f[R]] OSM-FILE\&...
@@ -19,7 +19,7 @@ In \[lq]create\[rq] mode osm2pgsql will create the database tables
1919
required by the configuration and import the OSM file(s) specified on
2020
the command line into those tables.
2121
Note that you also have to use the \f[B]-s, --slim\f[R] option if you
22-
want your database to be updateable.
22+
want your database to be updatable.
2323
.PP
2424
In \[lq]append\[rq] mode osm2pgsql will update the database tables with
2525
the data from OSM change files specified on the command line.
@@ -193,6 +193,23 @@ used).
193193
Set ID shift for way node bucket index in middle.
194194
Experts only.
195195
See documentation for details.
196+
.TP
197+
--middle-database-format=FORMAT
198+
Set the database format for the middle tables to FORMAT.
199+
Allowed formats are \f[B]legacy\f[R] and \f[B]new\f[R].
200+
The \f[B]legacy\f[R] format is the old format that will eventually be
201+
deprecated and removed but is currently still the default.
202+
The \f[B]new\f[R] format was introduced in version 1.9.0 and is still
203+
experimental.
204+
See the manual for details on these formats.
205+
(Only works with \f[B]--slim\f[R].
206+
In append mode osm2pgsql will automatically detect the database format,
207+
so don\[cq]t use this with \f[B]-a, --append\f[R].)
208+
.TP
209+
--middle-with-nodes
210+
Used together with the \f[B]new\f[R] middle database format when a flat
211+
nodes file is used to force storing nodes with tags in the database,
212+
too.
196213
.SH OUTPUT OPTIONS
197214
.TP
198215
-O, --output=OUTPUT

0 commit comments

Comments
 (0)