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
1919required by the configuration and import the OSM file(s) specified on
2020the command line into those tables.
2121Note 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
2424In \[lq ] append\[rq ] mode osm2pgsql will update the database tables with
2525the data from OSM change files specified on the command line.
@@ -193,6 +193,23 @@ used).
193193Set ID shift for way node bucket index in middle.
194194Experts only.
195195See 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