Mapweaver/Manual/Additional data

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Mapweaver/Manual/Additional data
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 bokmål 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 беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

GPX file overlay

If you want to show the contents of a GPX file in your map then do this:


The program will then draw big dots for the waypoints, smaller and connected dots for the routes and small dots for the tracks.

Optionally you can alter color and size:

-gpxsize=15 (default is 10)


A grid can be laid over the map. Just specify the number of squares you want in longitude direction. The other dimension is automatic. Of course you can specify the grid color. The grid squares are labeled numerically and alphabetically.

-grid=<integer> (number parts for grid, 0=no grid, DEFAULT=0) 
-gridcolor=TEXT (color for grid lines and labels (DEFAULT=black)

Page numbers

Page numbers can be added in two ways:




The first option will only draw the page number of this map in the lower right corner. The second option will additionally draw connection page numbers to all borders of the map.

Street directory

mapweaver can even create a street directory. It will do so including the grid squares where the street is located if the grid is turned on. Output is an unformatted street list to be further processed. The grid squares are separated by a tab. File name is name_streets.txt.

-dir (create street directory in separate file. if grid is enabled, grid squares will be added) 

Poi and place list

You can print a poi and place list like the street directory. Grid option applies as well.

-poi (create list of pois) 
Delkenheim	C5 
Diedenbergen	F4 
Eddersheim	G5 
Edeka Kundenparkplatz	G7 
Falkenberg (Keramag)	E7 
Flörsheim	F6 
Geldautomat	C1 

Street and POI directory in PDF

You can create a formatted street and POI directory in PDF format. To be able to do so you need some programs installed (see installation):

  • latex
  • dvips
  • ps2pdf

Also necessary is to also specify the options to create street and POI directories with -dir and/or -poi and a grid created by -grid=x.

-dirpdf (creates directory of streets and POIs if according options for generation are set) 
-dircolnum=INTEGER (number of columns for PDF directory of streets and POIs; DEFAULT=3) 
-dirtitle=TEXT (title for PDF directory of streets and POIs; DEFAULT="mapweaver map") 


By default each way or node with a rule will appear in the directories. This default behaviour can be altered in the ini file


In addition this default behaviour can be switched on and off for each object in the rule/style file.


Way name substitution

If way labels are too long they will not get rendered in the map. If you want such ways to be labeled with numbers and an element in the map explaining the numbers then add:


Number from 1..4 represent the location where the way legend is placed.

Additionally you could specify following parameters in ini file:


If you specify wns=5 this legend will be placed in a separate file. File will also be converted to other formats if specified.

There is also a parameter to force Mapweaver to substitute a way name only once:

wnsunique=1 (also from command line -wnsunique)