1- .TH  "OSM2PGSQL" "1" "1.11 .0" "" "" 
1+ .TH  "OSM2PGSQL" "1" "2.0 .0" "" "" 
22.SH  NAME 
33.PP 
44osm2pgsql - OpenStreetMap data to PostgreSQL converter
@@ -170,17 +170,12 @@ Include attributes of each object in the middle tables and make them
170170available to the outputs.
171171Attributes are: user name, user id, changeset id, timestamp and version.
172172.TP 
173- --flat-nodes=FILENAME 
174- The flat-nodes mode is a separate method to store slim mode node
175- information on disk.
176- Instead of storing this information in the main PostgreSQL database,
177- this mode creates its own separate custom database to store the
178- information.
179- As this custom database has application level knowledge about the data
180- to store and is not general purpose, it can store the data much more
181- efficiently.
173+ -F, --flat-nodes=FILENAME 
174+ Use a file on disk to store node locations instead of storing them in
175+ memory (in non-slim mode) or in the database (in slim mode).
176+ This is much more efficient than storing the data in the database.
182177Storing the node information for the full planet requires more than
183- 300GB  in PostgreSQL, the same data is stored in \[lq ] only\[rq ]  50GB 
178+ 500GB  in PostgreSQL, the same data is stored in \[lq ] only\[rq ]  90GB 
184179using the flat-nodes mode.
185180This can also increase the speed of applying diff files.
186181This option activates the flat-nodes mode and specifies the location of
@@ -189,6 +184,8 @@ It is a single large file.
189184This mode is only recommended for full planet imports as it doesn\[cq ] t
190185work well with small imports.
191186The default is disabled.
187+ The file will stay on disk after import, use --drop to remove it (but
188+ you can\[cq ] t do updates then).
192189.TP 
193190--middle-schema=SCHEMA 
194191Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
@@ -198,15 +195,9 @@ user.
198195By default the schema set with \f[ V ] --schema\f[ R ]  is used, or
199196\f[ V ] public\f[ R ]  if that is not set.
200197.TP 
201- --middle-way-node-index-id-shift=SHIFT 
202- Set ID shift for way node bucket index in middle.
203- Experts only.
204- See documentation for details.
205- .TP 
206198--middle-with-nodes 
207- Used together with the \f[B] new \f[ R ]  middle database format when a flat
208- nodes file is used to force storing nodes with tags in the database,
209- too.
199+ When a flat nodes file is used, nodes are not stored in the database.
200+ Use this option to force storing nodes with tags in the database, too.
210201.SH  OUTPUT OPTIONS 
211202.TP 
212203-O, --output=OUTPUT 
0 commit comments