MapTilePacks

From AndNavWiki

Jump to: navigation, search
File:Disambiguation.png A List Of MapTilePacks can be found here.
A sample MapTile

A MapTilePack is a collection of MapTiles that you can download and use within AndNav2. A MapTilePack will highly reduce the amount of data transferred over the air. This is especially worthy if you have no data plan (flat rate) or want to move in areas without a data connection.

Contents

What is a MapTile

A MapTile is nothing more than a simple image. It does not contain routing or other geographical information.

Installing a MapTilePack

A MapTilePack is essentially a ZIP file containing a couple of subfolders which contain files. All you need to do is to unzip that file to the memory card of your Android device, so that in the end you have a folder structure like this:

[SDCard]/andnav2/tiles/mapnik/0/0/0.png.andnav

Size of a MapTilePack

The List Of MapTilePacks does not correlate 1:1 to the actual file size on your memory card because MapTilePacks use a large number of very small files. If the cluster size on your host operating system differs from the size of the clusters on your microSDHC card, then you will notice potentially very large size discrepancies. The default formatting for Secure Digital cards uses a cluster size of 64 KiloBytes, while many operating systems use 32KB or smaller clusters. This can result in a size discrepancy of 1-2x the size listed in many cases.

Due to the fact that the average MapTile is only 1-4 KiloBytes big, the potential size differences are much greater. The size that a MapTilePack occupies on your computer is many times the size of the data being stored because of the use of such small files. The size on your computer could be as much as 6-8x the actual size of the data.

Here is a sample of one map tile pack as stored on an OS X laptop:

  • 1,216,128 files
  • 0.79GB of data in files
  • 4.85GB of disk space used (4KB clusters)
  • could not be copied to an 8GB SD card (32KB clusters)

Create your own

There are several ways to create your own MapTilePack.

But please note if u download tiles from openstreetmap do not download more than 100.000 tiles every 24h hours. Else u risk to be banned (this ban won't lift automaticly!).


Using Mobile Atlas Creator

Mobile Atlas Creator (formerly TrekBuddy Atlas Creator) is an open source tool which allows you to create MapTilePacks on your own.

Since version 1.5 the official version supports atlas creation directly for AndNav.

Download

Instruction Video

Using the OSMMapTilePackager

If you are familiar with Java, you can quickly create a MapTilePack on your own using the OSMMapTilePackager from the OSMDroid project.

List of MapTilePacks

See: List Of MapTilePacks