Taho

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

TAHO is a download tool for osm-Tiles and vector maps for offline map tools.

There are two versions of TAHO:

taho.pl: a perl script which should work under almost every OS
taho.exe: A Windows-program

Both can download maps in different sizes (1024*1024 to 8192*8192) for an area of any size. For each map calibration files in the following formats can be produced:

The results of both Versions are the same, but the Windows Program is much easier to use. Both are opensource Programms under the GPL.

program information

Taho.pl

This is the original taho-Version. This perl tool use tiles@home tiles, Mapnik tiles ore some other and generates an pixel map of 1024*1024 to 8192*8192 Pixels with calibration. You can use the program by give the tilenames or the coordinates. The result is one or more PNG-images and some calibration files (s.above). Here the help of the script:

usage: D:\PROGRAMME\josm\taho.pl [-tilename=Z,x,y] [-coord=Z,lat,lon] [-coord2=l
at2,lon2] [-tilesource=source] [-proxy=proxyname] [-size=size] [-neighbormaps=ne
ighbormaps] [-ext=ext] [-cache=cache] [-turbogps=yes] [-output=outputDir]
This script downloads the tiles from the openstreetmap server and glue them toge
ther,
after that, it generates calibration files for Ozi, TTQV, Pathaway, Fugawi and G
lopus.

Z: Zoom 1..11

x,y: slippy map tilenames

lat,lon: :-)

source:
      - http://tah.openstreetmap.org/Tiles/tile
      - http://dev.openstreetmap.org/~ojw/Tiles/maplint.php
      - http://tile.openstreetmap.org

proxyname:
proxy and port number

size:
this parameter gives the count of glowed tiles. The parameter itself is the expo
nent to the basis of 2. eg size=2 mean a map of4x4 tiles, size of 5 means a map
of 32x32 tiles. The default is 2.

neighbormaps:
is the recursion count, it count the also generated maps in x and y direction. e
g. neighbortiles=2 is in sum 5x5 maps (5=1+2x2), neighbortiles=4 is in sum 9x9 m
aps (9=1+2x4)). The default is 0. This parameter can cause extrem traffic. PLEAS
E USE THIS PARAMETER WITH CARE. Do not use araund 180 deg longitude!

lat2,lon2:
alternative to neighbormaps. The whole area between lat,lat2, lon, lon2 will be
downloaded. This parameter can cause extrem traffic. PLEASE USE THIS PARAMETER W
ITH CARE. Do not use araund 180 deg longitude!

cache:
this parameter control the usage of the local cache, the default is 1

ext:
jpg or png, default is png

turbogps=yes:
altenative output name with calibration in the filename

 ------------------------------------------------------------------------------
 GNU General Public license, version 2 or later
 ------------------------------------------------------------------------------

example 1, part of germany : D:\PROGRAMME\josm\taho.pl -tilename="7,67,42" -tile
source="http://tile.openstreetmap.org"
example 2, Erlangen        : D:\PROGRAMME\josm\taho.pl -coord="11,49.58,11.00" -
proxy="http://proxy:3128"
example 3, Erlangen. Glopus: D:\PROGRAMME\josm\taho.pl -coord="13,49.58,11.00" -
size=3 -neighbormaps=2
example 4, Pathaway        : D:\PROGRAMME\josm\taho.pl -coord="14,49.58,11.00" -
size=2 -neighbormaps=3
example 5, Munich          : D:\PROGRAMME\josm\taho.pl -coord="11,48.15,11.58" -
tilesource="http://dev.openstreetmap.org/~ojw/Tiles/tile.php"
example 6, Sao Paulo       : D:\PROGRAMME\josm\taho.pl -coord="11,-23.6681,-46.7
520" -tilesource="http://dev.openstreetmap.org/~ojw/Tiles/tile.php"
example 7, Aachen          : D:\PROGRAMME\josm\taho.pl -coord="13,50.8,6.02" -co
ord2="50.73,6.17" -output="AC/"
example 8, Cyclemap        : D:\PROGRAMME\josm\taho.pl -coord="11,49.58,11.00" -
tilesource="http://c.andy.sandbox.cloudmade.com/tiles/cycle"

for more help please refer to http://wiki.openstreetmap.org/index.php/Oziexplore
r

The map looks like this:

Example2 osm ozi.png

Now you can load the mif file and check the calibration of the pixel map.

Example3 osm ozi.png


Tips for Kosmos (Windows)

You can directly generate the maps with the taho.pl by using Kosmos. Here we go:

  1. You have already a Kosmos project you want to render.
  2. Generation of the tiles with >Kosmos.Console.exe tilegen "..\Samples\samples.kpr"
  3. Determine the path of the tiles: "C:/Program Files/Kosmos/Console/Tiles"
  4. Start the script with the option -tilesource="file:///C:/Program Files/Kosmos/Console/Tiles"

Hints for Windows user to install perl, GD.pm and taho.exe:

Hints for Linux user to install perl and GD.pm :

You may need libgd-gd2-perl.

  • On Debian: aptitude install libgd-gd2-perl

Taho.exe

This is a Windows-Program. To select a area it uses the OSM-Export-Site, but ypu can also enter the coordinates by hand. From taho.exe Version 2 you do not need taho.pl and perl any more.

Taho2EN.png

For more information about the programm see [1]

A detailed procedure for exporting maps to UI-View is available here

Tiles sources

Here some tiles sources:

For a more complete list in german see Tileserver

at all URLs starting with "http://a." the 'a' can be exchanged for 'b' or 'c'

The same list in the taho-Format [[2]](this link is used by taho.exe to update the url-List. So please do not remove)

Availability

The scripts and taho.exe are available here: [3]

Older versions:

taho_20071011 : some bugfix, new name :-) , special thanks to Holger Issle

osm2ozf_20071006 : ttqv and fugawi support added, weak pathaway support

osm2ozf_20070926 : bugfix for tiles-version under windows, remove support for the full render version

osm2ozf_20070619 : four point calibration, bug with calibration in southern zone fixed, added version for tiles@home

osm2ozf_20070226 : old version


If you find any bug, please contact one of us through the discussion page or send us an email to

  • waschbaer42@gmx.de for taho.pl.
  • --DimitriJunker 12:10, 19 November 2009 (UTC) for both versions