|
1 | | -.TH "OSM2PGSQL" "1" "2.1.1" "" "" |
| 1 | +.TH "OSM2PGSQL" "1" "2.2.0" "" "" |
2 | 2 | .SH NAME |
3 | | -.PP |
4 | | -osm2pgsql-gen - Generalize OpenStreetMap data - EXPERIMENTAL! |
| 3 | +osm2pgsql\-gen \- Generalize OpenStreetMap data \- EXPERIMENTAL! |
5 | 4 | .SH SYNOPSIS |
6 | | -.PP |
7 | | -\f[B]osm2pgsql-gen\f[R] [\f[I]OPTIONS\f[R]]\&... |
| 5 | +\f[B]osm2pgsql\-gen\f[R] [\f[I]OPTIONS\f[R]]\&... |
8 | 6 | .SH DESCRIPTION |
9 | | -.PP |
10 | 7 | THIS PROGRAM IS EXPERIMENTAL AND MIGHT CHANGE WITHOUT NOTICE! |
11 | 8 | .PP |
12 | | -\f[B]osm2pgsql-gen\f[R] reads data imported by \f[B]osm2pgsql\f[R] from |
| 9 | +\f[B]osm2pgsql\-gen\f[R] reads data imported by \f[B]osm2pgsql\f[R] from |
13 | 10 | the database, performs various generalization steps specified by a Lua |
14 | 11 | config file and writes the data back to the database. |
15 | 12 | It is used in conjunction with and after \f[B]osm2pgsql\f[R] and reads |
16 | 13 | the same config file. |
17 | 14 | .PP |
18 | 15 | This man page can only cover some of the basics and describe the command |
19 | 16 | line options. |
20 | | -See the Generalization chapter in the osm2pgsql |
21 | | -Manual (https://osm2pgsql.org/doc/manual.html#generalization) for more |
22 | | -information. |
| 17 | +See the \c |
| 18 | +.UR https://osm2pgsql.org/doc/manual.html#generalization |
| 19 | +Generalization chapter in the osm2pgsql Manual |
| 20 | +.UE \c |
| 21 | +\ for more information. |
23 | 22 | .SH OPTIONS |
24 | | -.PP |
25 | 23 | This program follows the usual GNU command line syntax, with long |
26 | | -options starting with two dashes (\f[V]--\f[R]). |
| 24 | +options starting with two dashes (\f[CR]\-\-\f[R]). |
27 | 25 | Mandatory arguments to long options are mandatory for short options too. |
28 | 26 | .SH MAIN OPTIONS |
29 | 27 | .TP |
30 | | --a, --append |
| 28 | +\-a, \-\-append |
31 | 29 | Run in append mode. |
32 | 30 | The default is to run in create mode. |
33 | 31 | .TP |
34 | | --S, --style=FILE |
| 32 | +\-S, \-\-style=FILE |
35 | 33 | The Lua config file. |
36 | 34 | Same as for \f[B]osm2pgsql\f[R]. |
37 | 35 | Usually not required because it is read from the |
38 | | -\f[V]osm2pgsql_properties\f[R] table. |
| 36 | +\f[CR]osm2pgsql_properties\f[R] table. |
39 | 37 | .TP |
40 | | --j, -jobs=NUM |
| 38 | +\-j, \-jobs=NUM |
41 | 39 | Specifies the number of parallel threads used for certain operations. |
42 | 40 | Setting this to the number of available CPU cores is a reasonable |
43 | 41 | starting point. |
44 | 42 | Minimum value and default is 1, maximum value is 256. |
45 | 43 | .SH HELP/VERSION OPTIONS |
46 | 44 | .TP |
47 | | --h, --help |
| 45 | +\-h, \-\-help |
48 | 46 | Print help. |
49 | 47 | .TP |
50 | | --V, --version |
| 48 | +\-V, \-\-version |
51 | 49 | Print osm2pgsql version. |
52 | 50 | .SH LOGGING OPTIONS |
53 | 51 | .TP |
54 | | ---log-level=LEVEL |
| 52 | +\-\-log\-level=LEVEL |
55 | 53 | Set log level (`debug', `info' (default), `warn', or `error'). |
56 | 54 | .TP |
57 | | ---log-sql |
| 55 | +\-\-log\-sql |
58 | 56 | Enable logging of SQL commands for debugging. |
59 | 57 | .SH DATABASE OPTIONS |
60 | 58 | .TP |
61 | | --d, --database=NAME |
| 59 | +\-d, \-\-database=NAME |
62 | 60 | The name of the PostgreSQL database to connect to. |
63 | | -If this parameter contains an \f[V]=\f[R] sign or starts with a valid |
64 | | -URI prefix (\f[V]postgresql://\f[R] or \f[V]postgres://\f[R]), it is |
| 61 | +If this parameter contains an \f[CR]=\f[R] sign or starts with a valid |
| 62 | +URI prefix (\f[CR]postgresql://\f[R] or \f[CR]postgres://\f[R]), it is |
65 | 63 | treated as a conninfo string. |
66 | 64 | See the PostgreSQL manual for details. |
67 | 65 | .TP |
68 | | --U, --username=NAME |
| 66 | +\-U, \-\-username=NAME |
69 | 67 | Postgresql user name. |
70 | 68 | .TP |
71 | | --W, --password |
| 69 | +\-W, \-\-password |
72 | 70 | Force password prompt. |
73 | 71 | .TP |
74 | | --H, --host=HOSTNAME |
| 72 | +\-H, \-\-host=HOSTNAME |
75 | 73 | Database server hostname or unix domain socket location. |
76 | 74 | .TP |
77 | | --P, --port=PORT |
| 75 | +\-P, \-\-port=PORT |
78 | 76 | Database server port. |
79 | 77 | .TP |
80 | | ---schema=SCHEMA |
81 | | -Default for various schema settings throughout osm2pgsql-gen (default: |
82 | | -\f[V]public\f[R]). |
| 78 | +\-\-schema=SCHEMA |
| 79 | +Default for various schema settings throughout osm2pgsql\-gen (default: |
| 80 | +\f[CR]public\f[R]). |
83 | 81 | The schema must exist in the database and be writable by the database |
84 | 82 | user. |
85 | | -It must be the same as used with \f[V]osm2pgsql\f[R]. |
| 83 | +It must be the same as used with \f[CR]osm2pgsql\f[R]. |
86 | 84 | .TP |
87 | | ---middle-schema=SCHEMA |
88 | | -Database schema where the \f[V]osm2pgsql_properties\f[R] table is to be |
| 85 | +\-\-middle\-schema=SCHEMA |
| 86 | +Database schema where the \f[CR]osm2pgsql_properties\f[R] table is to be |
89 | 87 | found. |
90 | | -Default set with \f[V]--schema\f[R]. |
91 | | -Set to the same value as on the \f[V]osm2pgsql\f[R] command line. |
| 88 | +Default set with \f[CR]\-\-schema\f[R]. |
| 89 | +Set to the same value as on the \f[CR]osm2pgsql\f[R] command line. |
92 | 90 | .SH SEE ALSO |
93 | 91 | .IP \[bu] 2 |
94 | | -osm2pgsql website (https://osm2pgsql.org) |
| 92 | +\c |
| 93 | +.UR https://osm2pgsql.org |
| 94 | +osm2pgsql website |
| 95 | +.UE \c |
95 | 96 | .IP \[bu] 2 |
96 | | -osm2pgsql manual (https://osm2pgsql.org/doc/manual.html) |
| 97 | +\c |
| 98 | +.UR https://osm2pgsql.org/doc/manual.html |
| 99 | +osm2pgsql manual |
| 100 | +.UE \c |
97 | 101 | .IP \[bu] 2 |
98 | 102 | \f[B]postgres\f[R](1) |
99 | 103 | .IP \[bu] 2 |
|
0 commit comments