1- .TH "OSM2PGSQL" "1" "1.7.2 " "" ""
1+ .TH "OSM2PGSQL" "1" "1.8.0 " "" ""
22.SH NAME
33.PP
44osm2pgsql - Openstreetmap data to PostgreSQL converter
@@ -31,7 +31,7 @@ more information.
3131.SH OPTIONS
3232.PP
3333This program follows the usual GNU command line syntax, with long
34- options starting with two dashes (\f[ C ] --\f[ R ] ).
34+ options starting with two dashes (\f[ V ] --\f[ R ] ).
3535Mandatory arguments to long options are mandatory for short options too.
3636.SH MAIN OPTIONS
3737.TP
@@ -58,8 +58,8 @@ Print osm2pgsql version.
5858Set log level (`debug', `info' (default), `warn', or `error').
5959.TP
6060--log-progress=VALUE
61- Enable (\f[ C ] true\f[ R ] ) or disable (\f[ C ] false\f[ R ] ) progress logging.
62- Setting this to \f[ C ] auto\f[ R ] will enable progress logging on the
61+ Enable (\f[ V ] true\f[ R ] ) or disable (\f[ V ] false\f[ R ] ) progress logging.
62+ Setting this to \f[ V ] auto\f[ R ] will enable progress logging on the
6363console and disable it if the output is redirected to a file.
6464Default: true.
6565.TP
@@ -68,16 +68,17 @@ Enable logging of SQL commands for debugging.
6868.TP
6969--log-sql-data
7070Enable logging of all data added to the database.
71- This will write out a huge amount of data! For debugging.
71+ This will write out a huge amount of data!
72+ For debugging.
7273.TP
7374-v, --verbose
74- Same as \f[ C ] --log-level=debug\f[ R ] .
75+ Same as \f[ V ] --log-level=debug\f[ R ] .
7576.SH DATABASE OPTIONS
7677.TP
7778-d, --database=NAME
7879The name of the PostgreSQL database to connect to.
79- If this parameter contains an \f[ C ] =\f[ R ] sign or starts with a valid
80- URI prefix (\f[ C ] postgresql://\f[ R ] or \f[ C ] postgres://\f[ R ] ), it is
80+ If this parameter contains an \f[ V ] =\f[ R ] sign or starts with a valid
81+ URI prefix (\f[ V ] postgresql://\f[ R ] or \f[ V ] postgres://\f[ R ] ), it is
8182treated as a conninfo string.
8283See the PostgreSQL manual for details.
8384.TP
@@ -106,7 +107,7 @@ Example: \f[B]--bbox\f[R] \f[B]-0.5,51.25,0.5,51.75\f[R]
106107.SH MIDDLE OPTIONS
107108.TP
108109-i, --tablespace-index=TABLESPC
109- Store all indexes in the PostgreSQL tablespace \f[ C ] TABLESPC\f[ R ] .
110+ Store all indexes in the PostgreSQL tablespace \f[ V ] TABLESPC\f[ R ] .
110111This option also affects the tables created by the pgsql output.
111112.TP
112113--tablespace-slim-data=TABLESPC
@@ -116,7 +117,7 @@ Store the slim mode tables in the given tablespace.
116117Store the indexes of the slim mode tables in the given tablespace.
117118.TP
118119-p, --prefix=PREFIX
119- Prefix for table names (default: \f[ C ] planet_osm\f[ R ] ).
120+ Prefix for table names (default: \f[ V ] planet_osm\f[ R ] ).
120121.TP
121122-s, --slim
122123Store temporary data in the database.
@@ -151,7 +152,7 @@ As a rule of thumb, give a bit more than the size of the import file in
151152PBF format.
152153If the RAM is not big enough, use about 75% of memory.
153154Make sure to leave enough RAM for PostgreSQL.
154- It needs at least the amount of \f[ C ] shared_buffers\f[ R ] given in its
155+ It needs at least the amount of \f[ V ] shared_buffers\f[ R ] given in its
155156configuration.
156157Defaults to 800.
157158.TP
@@ -185,7 +186,7 @@ The default is disabled.
185186.TP
186187--middle-schema=SCHEMA
187188Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
188- the middle (default is no schema, i.e.\ the \f[ C ] public\f[ R ] schema is
189+ the middle (default is no schema, i.e.\ the \f[ V ] public\f[ R ] schema is
189190used).
190191.TP
191192--middle-way-node-index-id-shift=SHIFT
@@ -212,19 +213,19 @@ The style file.
212213This specifies how the data is imported into the database, its format
213214depends on the output.
214215(For the \f[B] pgsql \f[ R ] output, the default is
215- \f[ C ] /usr/share/osm2pgsql/default.style\f[ R ] , for other outputs there is
216+ \f[ V ] /usr/share/osm2pgsql/default.style\f[ R ] , for other outputs there is
216217no default.)
217218.SH PGSQL OUTPUT OPTIONS
218219.TP
219220-i, --tablespace-index=TABLESPC
220- Store all indexes in the PostgreSQL tablespace \f[ C ] TABLESPC\f[ R ] .
221+ Store all indexes in the PostgreSQL tablespace \f[ V ] TABLESPC\f[ R ] .
221222This option also affects the middle tables.
222223.TP
223224--tablespace-main-data=TABLESPC
224- Store the data tables in the PostgreSQL tablespace \f[ C ] TABLESPC\f[ R ] .
225+ Store the data tables in the PostgreSQL tablespace \f[ V ] TABLESPC\f[ R ] .
225226.TP
226227--tablespace-main-index=TABLESPC
227- Store the indexes in the PostgreSQL tablespace \f[ C ] TABLESPC\f[ R ] .
228+ Store the indexes in the PostgreSQL tablespace \f[ V ] TABLESPC\f[ R ] .
228229.TP
229230--latlong
230231Store coordinates in degrees of latitude & longitude.
@@ -237,7 +238,7 @@ default).
237238Use projection EPSG:SRID.
238239.TP
239240-p, --prefix=PREFIX
240- Prefix for table names (default: \f[ C ] planet_osm\f[ R ] ).
241+ Prefix for table names (default: \f[ V ] planet_osm\f[ R ] ).
241242This option affects the middle as well as the pgsql output table names.
242243.TP
243244--tag-transform-script=SCRIPT
@@ -260,10 +261,10 @@ Add all tags to an additional hstore (key/value) column in the database
260261tables.
261262.TP
262263-z, --hstore-column=PREFIX
263- Add an additional hstore (key/value) column named \f[ C ] PREFIX\f[ R ]
264- containing all tags that have a key starting with \f[ C ] PREFIX\f[ R ] , eg
265- \f[ C ]\[rs ] --hstore-column \[dq ] name:\[dq ] \f[ R ] will produce an extra
266- hstore column that contains all \f[ C ] name:xx\f[ R ] tags.
264+ Add an additional hstore (key/value) column named \f[ V ] PREFIX\f[ R ]
265+ containing all tags that have a key starting with \f[ V ] PREFIX\f[ R ] , eg
266+ \f[ V ]\[rs ] --hstore-column \[dq ] name:\[dq ] \f[ R ] will produce an extra
267+ hstore column that contains all \f[ V ] name:xx\f[ R ] tags.
267268.TP
268269--hstore-match-only
269270Only keep objects that have a value in at least one of the non-hstore
@@ -281,7 +282,7 @@ the PostgreSQL tables.
281282.TP
282283-K, --keep-coastlines
283284Keep coastline data rather than filtering it out.
284- By default objects tagged \f[ C ] natural=coastline\f[ R ] will be discarded
285+ By default objects tagged \f[ V ] natural=coastline\f[ R ] will be discarded
285286based on the assumption that Shapefiles generated by OSMCoastline
286287(https://osmdata.openstreetmap.de/) will be used for the coastline data.
287288.TP
@@ -291,7 +292,7 @@ different projection is used for the geometries.
291292.TP
292293--output-pgsql-schema=SCHEMA
293294Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
294- the pgsql output (default is no schema, i.e.\ the \f[ C ] public\f[ R ]
295+ the pgsql output (default is no schema, i.e.\ the \f[ V ] public\f[ R ]
295296schema is used).
296297.SH EXPIRE OPTIONS
297298.TP
@@ -315,7 +316,7 @@ Specifies the number of parallel threads used for certain operations.
315316.TP
316317--with-forward-dependencies=BOOL
317318Propagate changes from nodes to ways and node/way members to relations
318- (Default: \f[ C ] true\f[ R ] ).
319+ (Default: \f[ V ] true\f[ R ] ).
319320.SH SEE ALSO
320321.IP \[bu ] 2
321322osm2pgsql website (https://osm2pgsql.org)
0 commit comments