[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add more checks of command line options (PR #2132)
Jochen Topf
notifications at github.com
Fri Feb 2 14:02:44 UTC 2024
These three commits add various checks for combinations of command line options which make no sense and so should not be used. For most of these warnings about ignored options are printed (which we can turn into hard fails in a later version of osm2pgsql). For the projection setting options (--latlong, -l, --merc, -m, --proj, and -E) an error is produced, because results are undefined if they are used together.
See individual commits.
Fixes #142
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132
-- Commit Summary --
* Check more command line options for "compatibility"
* Pull out checking of expire options into its own function
* Warnings for command line options only allowed in slim mode
-- File Changes --
M src/command-line-parser.cpp (115)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2132 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240202/5537e6ec/attachment.htm>
More information about the Tile-serving
mailing list