Mapweaver/Manual/Other parameters

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Mapweaver/Manual/Other parameters
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

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