Skip to content

Commit 3250ac3

Browse files
committed
prepare release 2.2.0
1 parent 9a0a7b1 commit 3250ac3

File tree

5 files changed

+262
-328
lines changed

5 files changed

+262
-328
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
cmake_minimum_required(VERSION 3.10.0)
33

4-
project(osm2pgsql VERSION 2.1.1 LANGUAGES CXX C)
4+
project(osm2pgsql VERSION 2.2.0 LANGUAGES CXX C)
55

66
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
77

man/osm2pgsql-expire.1

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,79 @@
1-
.TH "OSM2PGSQL" "1" "2.1.1" "" ""
1+
.TH "OSM2PGSQL" "1" "2.2.0" "" ""
22
.SH NAME
3-
.PP
4-
osm2pgsql-expire - Visualize expire output
3+
osm2pgsql\-expire \- Visualize expire output
54
.SH SYNOPSIS
6-
.PP
7-
\f[B]osm2pgsql-expire\f[R] [\f[I]OPTIONS\f[R]] \f[I]OSM-FILE\f[R] (1)
8-
\f[B]osm2pgsql-expire\f[R] \f[I]TILES-FILE\f[R] (2)
5+
\f[B]osm2pgsql\-expire\f[R] [\f[I]OPTIONS\f[R]] \f[I]OSM\-FILE\f[R] (1)
6+
\f[B]osm2pgsql\-expire\f[R] \f[I]TILES\-FILE\f[R] (2)
97
.SH DESCRIPTION
10-
.PP
118
\f[B]This command is currently experimental.\f[R]
129
.PP
1310
The expire command can be used for two things:
1411
.IP "1." 3
1512
\f[B]To check what tiles some OSM data is in.\f[R] If an
16-
\f[I]OSM-FILE\f[R] is specified osm2pgsql-expire will calculate the
13+
\f[I]OSM\-FILE\f[R] is specified osm2pgsql\-expire will calculate the
1714
tiles covering the objects in that file.
1815
Note that the file must not be a change file but a regular OSM data
1916
file!
2017
Output is, by default, a tile file, but GeoJSON is also possible.
2118
.IP "2." 3
22-
\f[B]Visualize tile list.\f[R] If a \f[I]TILE-FILE\f[R] (presumably
19+
\f[B]Visualize tile list.\f[R] If a \f[I]TILE\-FILE\f[R] (presumably
2320
generated by osm2pgsql) is specified, a GeoJSON file is generated
2421
showing all mentioned tiles.
2522
In this mode all command line options are ignored.
2623
.PP
2724
Read the \f[I]Expire\f[R] chapter of the osm2pgsql manual
2825
(https://osm2pgsql.org/doc/manual.html#expire) for details on how to
29-
interpret the \f[V]-m, \[rs]--mode\f[R] and
30-
\f[V]\[rs]--full-area-limit\f[R] options.
26+
interpret the \f[CR]\-m, \[rs]\-\-mode\f[R] and
27+
\f[CR]\[rs]\-\-full\-area\-limit\f[R] options.
3128
.SH OPTIONS
32-
.PP
3329
This program follows the usual GNU command line syntax, with long
34-
options starting with two dashes (\f[V]--\f[R]).
30+
options starting with two dashes (\f[CR]\-\-\f[R]).
3531
Mandatory arguments to long options are mandatory for short options too.
3632
.SH MAIN OPTIONS
3733
.TP
38-
-b, --buffer=VALUE
34+
\-b, \-\-buffer=VALUE
3935
Set buffer size around geometry relative to tile size.
4036
Example: Set to 0.1 for a buffer that\[cq]s 10% of the tile size.
4137
.TP
42-
-f, --format=FORMAT
38+
\-f, \-\-format=FORMAT
4339
Output format.
4440
Options are `tiles' (default) or `geojson'.
4541
The GeoJSON output uses the Web Mercator projection (EPSG:3857) which is
4642
supported by many programs although, strictly speaking, it is not
4743
allowed by the GeoJSON spec.
4844
.TP
49-
--full-area-limit=VALUE
45+
\-\-full\-area\-limit=VALUE
5046
Set full area limit.
5147
.TP
52-
-m, --mode=MODE
48+
\-m, \-\-mode=MODE
5349
Set expire mode.
54-
One of \f[V]boundary_only\f[R], \f[V]full_area\f[R] (default), and
55-
\f[V]hybrid\f[R].
50+
One of \f[CR]boundary_only\f[R], \f[CR]full_area\f[R] (default), and
51+
\f[CR]hybrid\f[R].
5652
.TP
57-
-z, --zoom=ZOOM
53+
\-z, \-\-zoom=ZOOM
5854
Zoom level on which to calculate tiles.
5955
.SH HELP/VERSION OPTIONS
6056
.TP
61-
-h, --help
57+
\-h, \-\-help
6258
Print help.
6359
.TP
64-
-V, --version
60+
\-V, \-\-version
6561
Print osm2pgsql version.
6662
.SH LOGGING OPTIONS
6763
.TP
68-
--log-level=LEVEL
64+
\-\-log\-level=LEVEL
6965
Set log level (`debug', `info' (default), `warn', or `error').
7066
.SH SEE ALSO
7167
.IP \[bu] 2
72-
osm2pgsql website (https://osm2pgsql.org)
68+
\c
69+
.UR https://osm2pgsql.org
70+
osm2pgsql website
71+
.UE \c
7372
.IP \[bu] 2
74-
osm2pgsql manual (https://osm2pgsql.org/doc/manual.html)
73+
\c
74+
.UR https://osm2pgsql.org/doc/manual.html
75+
osm2pgsql manual
76+
.UE \c
7577
.IP \[bu] 2
7678
\f[B]osm2pgsql\f[R](1)
7779
.IP \[bu] 2

man/osm2pgsql-gen.1

Lines changed: 41 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,103 @@
1-
.TH "OSM2PGSQL" "1" "2.1.1" "" ""
1+
.TH "OSM2PGSQL" "1" "2.2.0" "" ""
22
.SH NAME
3-
.PP
4-
osm2pgsql-gen - Generalize OpenStreetMap data - EXPERIMENTAL!
3+
osm2pgsql\-gen \- Generalize OpenStreetMap data \- EXPERIMENTAL!
54
.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]]\&...
86
.SH DESCRIPTION
9-
.PP
107
THIS PROGRAM IS EXPERIMENTAL AND MIGHT CHANGE WITHOUT NOTICE!
118
.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
1310
the database, performs various generalization steps specified by a Lua
1411
config file and writes the data back to the database.
1512
It is used in conjunction with and after \f[B]osm2pgsql\f[R] and reads
1613
the same config file.
1714
.PP
1815
This man page can only cover some of the basics and describe the command
1916
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.
2322
.SH OPTIONS
24-
.PP
2523
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]).
2725
Mandatory arguments to long options are mandatory for short options too.
2826
.SH MAIN OPTIONS
2927
.TP
30-
-a, --append
28+
\-a, \-\-append
3129
Run in append mode.
3230
The default is to run in create mode.
3331
.TP
34-
-S, --style=FILE
32+
\-S, \-\-style=FILE
3533
The Lua config file.
3634
Same as for \f[B]osm2pgsql\f[R].
3735
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.
3937
.TP
40-
-j, -jobs=NUM
38+
\-j, \-jobs=NUM
4139
Specifies the number of parallel threads used for certain operations.
4240
Setting this to the number of available CPU cores is a reasonable
4341
starting point.
4442
Minimum value and default is 1, maximum value is 256.
4543
.SH HELP/VERSION OPTIONS
4644
.TP
47-
-h, --help
45+
\-h, \-\-help
4846
Print help.
4947
.TP
50-
-V, --version
48+
\-V, \-\-version
5149
Print osm2pgsql version.
5250
.SH LOGGING OPTIONS
5351
.TP
54-
--log-level=LEVEL
52+
\-\-log\-level=LEVEL
5553
Set log level (`debug', `info' (default), `warn', or `error').
5654
.TP
57-
--log-sql
55+
\-\-log\-sql
5856
Enable logging of SQL commands for debugging.
5957
.SH DATABASE OPTIONS
6058
.TP
61-
-d, --database=NAME
59+
\-d, \-\-database=NAME
6260
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
6563
treated as a conninfo string.
6664
See the PostgreSQL manual for details.
6765
.TP
68-
-U, --username=NAME
66+
\-U, \-\-username=NAME
6967
Postgresql user name.
7068
.TP
71-
-W, --password
69+
\-W, \-\-password
7270
Force password prompt.
7371
.TP
74-
-H, --host=HOSTNAME
72+
\-H, \-\-host=HOSTNAME
7573
Database server hostname or unix domain socket location.
7674
.TP
77-
-P, --port=PORT
75+
\-P, \-\-port=PORT
7876
Database server port.
7977
.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]).
8381
The schema must exist in the database and be writable by the database
8482
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].
8684
.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
8987
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.
9290
.SH SEE ALSO
9391
.IP \[bu] 2
94-
osm2pgsql website (https://osm2pgsql.org)
92+
\c
93+
.UR https://osm2pgsql.org
94+
osm2pgsql website
95+
.UE \c
9596
.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
97101
.IP \[bu] 2
98102
\f[B]postgres\f[R](1)
99103
.IP \[bu] 2

0 commit comments

Comments
 (0)