1
- .TH "OSM2PGSQL" "1" "1.7.2 " "" ""
1
+ .TH "OSM2PGSQL" "1" "1.8.0 " "" ""
2
2
.SH NAME
3
3
.PP
4
4
osm2pgsql - Openstreetmap data to PostgreSQL converter
@@ -31,7 +31,7 @@ more information.
31
31
.SH OPTIONS
32
32
.PP
33
33
This 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 ] ).
35
35
Mandatory arguments to long options are mandatory for short options too.
36
36
.SH MAIN OPTIONS
37
37
.TP
@@ -58,8 +58,8 @@ Print osm2pgsql version.
58
58
Set log level (`debug', `info' (default), `warn', or `error').
59
59
.TP
60
60
--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
63
63
console and disable it if the output is redirected to a file.
64
64
Default: true.
65
65
.TP
@@ -68,16 +68,17 @@ Enable logging of SQL commands for debugging.
68
68
.TP
69
69
--log-sql-data
70
70
Enable 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.
72
73
.TP
73
74
-v, --verbose
74
- Same as \f[ C ] --log-level=debug\f[ R ] .
75
+ Same as \f[ V ] --log-level=debug\f[ R ] .
75
76
.SH DATABASE OPTIONS
76
77
.TP
77
78
-d, --database=NAME
78
79
The 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
81
82
treated as a conninfo string.
82
83
See the PostgreSQL manual for details.
83
84
.TP
@@ -106,7 +107,7 @@ Example: \f[B]--bbox\f[R] \f[B]-0.5,51.25,0.5,51.75\f[R]
106
107
.SH MIDDLE OPTIONS
107
108
.TP
108
109
-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 ] .
110
111
This option also affects the tables created by the pgsql output.
111
112
.TP
112
113
--tablespace-slim-data=TABLESPC
@@ -116,7 +117,7 @@ Store the slim mode tables in the given tablespace.
116
117
Store the indexes of the slim mode tables in the given tablespace.
117
118
.TP
118
119
-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 ] ).
120
121
.TP
121
122
-s, --slim
122
123
Store 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
151
152
PBF format.
152
153
If the RAM is not big enough, use about 75% of memory.
153
154
Make 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
155
156
configuration.
156
157
Defaults to 800.
157
158
.TP
@@ -185,7 +186,7 @@ The default is disabled.
185
186
.TP
186
187
--middle-schema=SCHEMA
187
188
Use 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
189
190
used).
190
191
.TP
191
192
--middle-way-node-index-id-shift=SHIFT
@@ -212,19 +213,19 @@ The style file.
212
213
This specifies how the data is imported into the database, its format
213
214
depends on the output.
214
215
(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
216
217
no default.)
217
218
.SH PGSQL OUTPUT OPTIONS
218
219
.TP
219
220
-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 ] .
221
222
This option also affects the middle tables.
222
223
.TP
223
224
--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 ] .
225
226
.TP
226
227
--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 ] .
228
229
.TP
229
230
--latlong
230
231
Store coordinates in degrees of latitude & longitude.
@@ -237,7 +238,7 @@ default).
237
238
Use projection EPSG:SRID.
238
239
.TP
239
240
-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 ] ).
241
242
This option affects the middle as well as the pgsql output table names.
242
243
.TP
243
244
--tag-transform-script=SCRIPT
@@ -260,10 +261,10 @@ Add all tags to an additional hstore (key/value) column in the database
260
261
tables.
261
262
.TP
262
263
-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.
267
268
.TP
268
269
--hstore-match-only
269
270
Only keep objects that have a value in at least one of the non-hstore
@@ -281,7 +282,7 @@ the PostgreSQL tables.
281
282
.TP
282
283
-K, --keep-coastlines
283
284
Keep 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
285
286
based on the assumption that Shapefiles generated by OSMCoastline
286
287
(https://osmdata.openstreetmap.de/) will be used for the coastline data.
287
288
.TP
@@ -291,7 +292,7 @@ different projection is used for the geometries.
291
292
.TP
292
293
--output-pgsql-schema=SCHEMA
293
294
Use 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 ]
295
296
schema is used).
296
297
.SH EXPIRE OPTIONS
297
298
.TP
@@ -315,7 +316,7 @@ Specifies the number of parallel threads used for certain operations.
315
316
.TP
316
317
--with-forward-dependencies=BOOL
317
318
Propagate 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 ] ).
319
320
.SH SEE ALSO
320
321
.IP \[bu ] 2
321
322
osm2pgsql website (https://osm2pgsql.org)
0 commit comments