Mapweaver/Manual/Other parameters

From OpenStreetMap Wiki
Jump to navigation Jump to search

First of all you must be aware that parameters can be specified in 4 different locations. These are (in order!):

  • program defaults
  • command line parameters (ALWAYS USE lower case letters here; and of course the hyphen)
  • ini file (letter case doesn't matter; NO hyphen here!)
  • rule file (letter case doesn't matter; NO hyphen here!)

Parameters can be specified more than once but the last setting overrides all others.

So put together an ini file with your usual settings to save typing time on the command line.

ini file

An ini file could look like this:

out=gerhard.svg
size=4096
png=1

If you want to turn on or off switches (from command line options) you can do so by stating:

png=1
pdf=0

Rule file

Aside from rules you can also specify parameters in the rule file, like this:

RULE CONFIG scaleset=25000
RULE CONFIG png=1
RULE CONFIG pdf=1