1- .TH  "OSM2PGSQL" "1" "1.8.1 " "" "" 
1+ .TH  "OSM2PGSQL" "1" "1.10.0 " "" "" 
22.SH  NAME 
33.PP 
44osm2pgsql-gen - Generalize OpenStreetMap data - EXPERIMENTAL!
@@ -23,7 +23,7 @@ information.
2323.SH  OPTIONS 
2424.PP 
2525This program follows the usual GNU command line syntax, with long
26- options starting with two dashes (\f[ C ] --\f[ R ] ).
26+ options starting with two dashes (\f[ V ] --\f[ R ] ).
2727Mandatory arguments to long options are mandatory for short options too.
2828.SH  MAIN OPTIONS 
2929.TP 
@@ -37,6 +37,8 @@ This is the default if \f[B]-a, --append\f[R] is not specified.
3737-S, --style=FILE 
3838The Lua config file.
3939Same as for \f[B] osm2pgsql \f[ R ] .
40+ Usually not required because it is read from the
41+ \f[ V ] osm2pgsql_properties\f[ R ]  table.
4042.TP 
4143-j, -jobs=NUM 
4244Specifies the number of parallel threads used for certain operations.
@@ -60,8 +62,8 @@ Enable logging of SQL commands for debugging.
6062.TP 
6163-d, --database=NAME 
6264The name of the PostgreSQL database to connect to.
63- If this parameter contains an \f[ C ] =\f[ R ]  sign or starts with a valid
64- URI prefix (\f[ C ] postgresql://\f[ R ]  or \f[ C ] postgres://\f[ R ] ), it is
65+ If this parameter contains an \f[ V ] =\f[ R ]  sign or starts with a valid
66+ URI prefix (\f[ V ] postgresql://\f[ R ]  or \f[ V ] postgres://\f[ R ] ), it is
6567treated as a conninfo string.
6668See the PostgreSQL manual for details.
6769.TP 
@@ -76,6 +78,19 @@ Database server hostname or unix domain socket location.
7678.TP 
7779-P, --port=PORT 
7880Database server port.
81+ .TP 
82+ --schema=SCHEMA 
83+ Default for various schema settings throughout osm2pgsql-gen (default:
84+ \f[ V ] public\f[ R ] ).
85+ The schema must exist in the database and be writable by the database
86+ user.
87+ It must be the same as used with \f[ V ] osm2pgsql\f[ R ] .
88+ .TP 
89+ --middle-schema=SCHEMA 
90+ Database schema where the \f[ V ] osm2pgsql_properties\f[ R ]  table is to be
91+ found.
92+ Default set with \f[ V ] --schema\f[ R ] .
93+ Set to the same value as on the \f[ V ] osm2pgsql\f[ R ]  command line.
7994.SH  SEE ALSO 
8095.IP  \[bu ]  2 
8196osm2pgsql website (https://osm2pgsql.org)
0 commit comments