logo separator

[mkgmap-dev] Options overhaul

From Steve Ratcliffe steve at parabola.me.uk on Fri Mar 25 13:17:22 GMT 2011

Hi

There is a new branch for an overhaul of the options. There are a
number of recent (and not so recent!) posts about options that are
badly documented, have the wrong defaults or just plain shouldn't
exist.

The first couple of things I plan to do in preparation are:

1. Make it possible to negate any option by pre-pending it with 'no'
(eg --no-route).  This has the effect of turning off the option for
the following files. This is not currently possible. It will also give
a consistent way to turn off options that are by default active.

2. Add a way to document old options and and give a warning that the
option is no longer in use and what should replace it if anything.
This will allow for options to be removed from the help list, without
actually removing them from the program, so as not to break existing
scripts.

If anyone has any thoughts on how the options could be improved now
would be a good time to discuss it.

Things already on the list include: --charset, --remove-short-arcs,
--ignore-osm-bounds, setting options inside the style (which can
already be done, its just not really used properly).

..Steve



More information about the mkgmap-dev mailing list