Sunday, 2 October 2011

How to Build Offline Maps for Mobile GMaps

These steps are to remind me how to build offline maps for Mobile GMaps for my Torch 9800.  If you follow these steps you do so at your own risk.  These steps may be updated from time to time.

Requires gMapMaker from http://www.mgmaps.com/cache/

Depending on the area being mapped, so far the space one city takes up is around 500 to 600 Mb.

Be warned.  It takes hours to download maps.
  1. Go to http://www.mapcacher.com/ 
  2. Mark a square around the whole country.
  3. Set Zoom level from 0 to 9.  Ignore Level of detail setting.  Set Type of map to Google Road Maps.
  4. Click Generate and save the map file giving it appropriate name.  
  5. Click Reset and zoom into level 6 of where to map.
  6. Mark a square about 1/4 of the map's viewable area. (Assuming screen size 1280x800).
  7. Set Zoom level from 10 to 12.  
  8. Click Generate and save the map file giving it another appropriate name.  
  9. Click Reset and zoom into level 10 of where to map.
  10. Mark a square about 1/4 of the map's viewable area. (Assuming screen size 1280x800).  This is for the smallest size maps with the highest details.  If larger area is required at this detail, the file size will increase significantly.
  11. Set Zoom level from 13 to 17.  
  12. Click Generate and save the map file giving it another appropriate name.  
  13. Run gMapMaker.
  14. Set Max Parallel Downloads to 2.  Tick Group by zoom.  Set Operating Mode to MGMaps mode, download tiles using a .map file.  Set Hash size to 1.  Set Tiles per file to 256.
  15. Click Go and select the first .map file and click open.  Wait for download to complete and click close.  Approx 27 min.
  16. Click Go and select the second .map file and click open.  Wait for download to complete and click close.  Approx 45 min.
  17. Click Go and select the third .map file and click open.  Wait for download to complete and click close.  Approx 5h 30 min.
  18. There should be a folder in the gMapMaker program folder called MGMapsCache.  Rename MGMapsCache to something appropriate like TkMap.
  19. Connect Torch 9800 to the PC with USB.  You must get the Torch 9800 to appear as a mass storage device on a computer.  
    1. On my Windows XP PC I had to use Sync Media option on the Torch 9800 so that it appears as a mass storage device.  I don't know why if I select USB drive option, the mass storage device does not work.  
    2. On Windows 7 I had to select the USB Drive option and prevent Blackberry Desktop Software from opening.  For some strange reason, when Blackberry Desktop Software opens and connects, it removes the phone as a mass storage device.
  20. Use windows explorer to copy the whole folder TkMap from the PC to the Torch 9800.  NOTE:  Do not use the BlackBerry Desktop Software to copy as this will encrypt everything and MGMaps on the Torch cannot read the encrypted files.  Copy time approx 14 min.
  21. Finished.  MGMaps should be able to access the maps now.

Warning
If you do use Mobile GMaps, do not install Google Maps.  I was doing some testing and noticed that installing Google Maps on to the Torch 9800 deletes Mobile GMaps from it.  All the stored locations for Mobile GMaps was also deleted.

No comments:

Post a Comment