@@ -12,22 +12,25 @@ database.
1212It is an essential part of many rendering toolchains, the Nominatim
1313geocoder and other applications processing OSM data.
1414.PP
15- OSM planet snapshots can be downloaded from
16- https://planet.openstreetmap.org/.
17- Data extracts for various countries or other areas are also available,
18- see https://wiki.openstreetmap.org/wiki/Planet.osm.
15+ \f[B] osm2pgsql \f[ ] can run in either \[lq ] create\[rq ] mode (the default)
16+ or in \[lq ] append\[rq ] mode (option \f[B] \- a, \-\- append \f[ ] ).
17+ In \[lq ] create\[rq ] mode osm2pgsql will create the database tables
18+ required by the configuration and import the OSM file(s) specified on
19+ the command line into those tables.
20+ Note that you also have to use the \f[B] \- s, \-\- slim \f[ ] option if you
21+ want your database to be updateable.
1922.PP
20- When operating in \[lq ] slim\[rq ] mode (and on a database created in
21- \[lq ] slim\[rq ] mode!), \f[B] osm2pgsql \f[ ] can also process OSM change
22- files (osc files), thereby bringing an existing database up to date.
23+ In \[lq ] append\[rq ] mode osm2pgsql will update the database tables with
24+ the data from OSM change files specified on the command line.
2325.PP
24- See the manual (https://osm2pgsql.org/doc/manual.html) for more
25- information.
26+ This man page can only cover some of the basics and describe the command
27+ line options.
28+ See the Osm2pgsql Manual (https://osm2pgsql.org/doc/manual.html) for
29+ more information.
2630.SH OPTIONS
2731.PP
2832This program follows the usual GNU command line syntax, with long
2933options starting with two dashes (\f[ C ]\-\- \f[ ] ).
30- .PP
3134Mandatory arguments to long options are mandatory for short options too.
3235.SH MAIN OPTIONS
3336.TP
@@ -63,6 +66,13 @@ Set log level (`debug', `info' (default), `warn', or `error').
6366.RS
6467.RE
6568.TP
69+ .B \-\- log\- progress=VALUE
70+ Enable (\f[ C ] true\f[ ] ) or disable (\f[ C ] false\f[ ] ) progress logging.
71+ The default is \f[ C ] auto\f[ ] which will enable progress logging on the
72+ console and disable it if the output is redirected to a file.
73+ .RS
74+ .RE
75+ .TP
6676.B \-\- log\- sql
6777Enable logging of SQL commands for debugging.
6878.RS
@@ -73,6 +83,11 @@ Enable logging of all data added to the database.
7383This will write out a huge amount of data! For debugging.
7484.RS
7585.RE
86+ .TP
87+ .B \- v, \-\- verbose
88+ Same as \f[ C ]\-\- log\- level=debug\f[ ] .
89+ .RS
90+ .RE
7691.SH DATABASE OPTIONS
7792.TP
7893.B \- d, \-\- database=NAME
0 commit comments