1) What format do you use for storing maps on Android for offline map viewing?
2) What will be the total size of Map data for particular region (eg. entire North America, city like Dallas, etc) when stored in above format?
3) Do you have any android device tool which can convert OSM map data (.osm) to your format on an Android device?
Note that we support currently only raster data, map tile images. This gives nicer images, but takes quite a lot of space. Storage size depends what is maximum zoom for what you want to store: each next zoom makes package 5 times larger. Some examples: Paris central (all inside the peripherique) for up to zoom 17 takes about 100 MB, my country Estonia (300x300 km) with 40 cities in extra zoom details (up to 16) was 100 MB before land cover information, and 400 MB after detailed land cover. One 1x1-degree area and up to zoom 16 in central Europe is about 1 GB.
File package format is described in http://www.nutiteq.com/content/guides-map-source-developers , see Stored Maps Spec document. It is basically a set of PNG files (meta-tiles).
If you have .osm file as input, then I would to import it to PostGIS database, and then use Mapnik to render the tiles. But much easier would be to use some existing service, e.g. CloudMade.com tiles, their terms allow also offline use of their maps.
Hello,
I have download your application SOTM (http://www.nutiteq.com/files/AndroidSOTM.zip),
you have stored Amsterdam map in res/raw and these files are named "(zoom level)_(tile x)_(tile y).png"
I want to store my city map (Hanoi, Vietnam). How to render the tiles like in your application ?
Thanks you.
Please clarify what do you mean by "render the tiles"? You can purchase tiles from e.g. CloudMade.com, or set up own map server using some free map server tools like MapServer, Mapnik, Geoserver etc.
Hi Jaak,
Please reply to me queries above.
Thanks
Shashank