Hikingbook.pl/Process

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

Step by step to your hikingbook

  • find out route ID or NAME or REF
  • provide osm file (it is important to provide a file that contains the whole tour AND all other information that is needed to draw complete maps around that area, especially complete multipolygons. To achieve this you can use osmosis with --bounding-box options completeWays=yes and completeRelations=yes.)
  • however the file should not contain too much things not needed. otherwise the output files will become very large.
osmosis -rx big.osm --bounding-box completeWays=yes completeRelations=yes left=8 right=9 bottom=50 top=51 -wx small.osm
  • create step descriptions (create a simple text file route16steps.txt with one line per step. Each line contains the step number and a space, then the description for this step.)
1 Gute Verbindung nach Frankfurt, Niedernhausen, Wiesbaden
24 Hier kann ein Abstecher zum Meisterturm in östliche Richtung gemacht werden
35 Hier führt ein Weg östlich nach Lorsbach herunter
  • create tour description route16desc.tex
\section*{Erster Teil der Tour}
Der erste Teil der Tour führt uns vom Hofheimer Bahnhof nordwestlich Richtung Kapellenberg. Westlich des Kapellenbergs geht es im Lorsbacher Tal Richtung Norden.
\section*{Zweiter Teil der Tour}
Der zweite Teil der Tour führt westlich am Lorsbacher Kopf vorbei, dann hinauf zur Gundelhard. Hier Einkehr.
  • call hikingbook.pl (everything in ONE line!)
perl hikingbook.pl -in=hessen.osm -out=Route16.pdf -title="Taunusklub Route 16" -reverse\\
-poi=2 -desc=route16desc.tex -steps=route16steps.txt -name="Taunusklub Route 16" -language=DE

Result

  • Route16.pdf