OSM Map On Magellan/Format

From OpenStreetMap Wiki
Jump to: navigation, search

OSM Map On Magellan

The information about the file formats of Magellan are limited and has been gained by reverse engineering the data structures.



Technically different maps

  • Magellan offers two different map series:
    • Summit - topo maps
    • City - with routing
  • Vector
    • .imi default vector map
    • .mgi vector basemap
    • .poi poi map
    • .tpo topo map
  • Raster
    • .rmp


e.g Meridian

  • .img



People interested in coding things for Magellan maps

Name Task Skills
!i! Community Management, Wiki, Python, Java C
benno234 Java, OSGi, C++, C

previous research

Around 2003-2005 the mapsend format yahoo group did a lot of analyses on Magellan (fka Thales) Mapsend tool and it's used map files.

Their approach on generating custom maps is:

  • generate Shapefiles of desired area OR
    • use Mobile Mapper Office 2.7 to save a .IMG map file
    • use magsendtool to extract shapefiles out of Magellan maps [which is unreliable]
  • use Mobile Mapper Office 2.7 with patched .INI configuration files to build
  • MMOconverter makes maps compatible with Magellan GPSr again

Adding 3D relief topo data from ASTER-GDEM to Magellan vector maps (using MobileMapper Office)

Relief data is presented in a file(s) *.blx inside the .imi file container. Magellan GPS devices can visualize this data as an automatically generated lines of equal height and height digits.

To add this data during creating map try this: 1) you need this software:

Global Mapper http://www.bluemarblegeo.com/products/global-mapper.php  (I do not want to post links to cracked soft here)
BLX Calculator (BLXCalc) http://depositfiles.com/files/riy5wyhas
gdal_translate from GDAL http://www.gdal.org/
PROJ Cartographic Projections Library from http://trac.osgeo.org/proj/

2) download ASTER-GDEM relief data for your area from http://gdex.cr.usgs.gov/gdex/ (registration is free). Use options to create zipped data files. The selected area must have a rectangular shape and coordinates of it's borders must be integer.

3) Create folder \BLX inside of MobileMapper Office \MAP folder (\VectMaps for MMO 2.7 if a map working folder is in MMO 2.7 working folder)

4) Create file topo3d.cfg inside of \MAP folder with a following text

total_blx_scale=0 6
params=2 8 30   4 12 30   10 20 30   20 40 30   40 100 30   80 200 30
memory=4 10 40 32

5) Create file topo3d.ini inside of \MAP folder with a following text

total_blx_scale=1 7
scale_range=0 5000
scales=0 50 100 200 500 1000 2000
params=10 20 20   20 50 20   20 50 40   40 100 50   50 200 80   100 250 100   100 250 0
memory=10 50 200 64

6) Open files \MAP\map.ini and \MAP\map.def then add this section if it is absent, or if commented out then remove the comments.

labels=15  170 175 80 15 s 255 255 255 255
lines_style=3  220 220 190 1    170 175 80 1     255 0 0 1

7) Open file MMOffice.ini and add in [PATH] section add string Topo3DInit=topo3d.ini, BLX0

8) Download and install GDAL and PROJ software

9) Add path to GDAL and PROJ folders to windows system PATH variable (something like c:\Program Files\gdalwin32-1.6\bin;c:\Program Files\proj\bin )

10) add windows system variable GDAL_DATA (c:\Program Files\gdalwin32-1.6\data) and PROJ_LIB (c:\Program Files\proj\NAD)

11) Launch Global Mapper and open ASTER-GDEM data file(s) as an elevation data file(s). GM can understand zip-files without unzipping. Click "Yes" button when GM ask you whether your file is a DEM file of a rster map. Coordinate system must be “Geographic (GEO) and datum must be WGS84. If not, click menu Tools – Configure – tab Projection and set projection “Geografic (Latitude\Longitude)” and datum “WGS84” and Planar units “Arc degrees”. OK.

12) in GM click menu File – Export – Export elevation grid format – GeoTIFF. OK.

13) Let GM running in background an run BLXCalc. Select “Шаг исходных данных / Source data step” – 1’’ for ASTER GDEM or 3’’ for SRTM from dropdown list. Click “Получить данные из GM / Get data from GM” button. Click “Считать / Calculate” button. You will see a digits in two bottom fields. Click “Передать данные в GM / Send data to GM”. Close BLXCalc and switch to GM.

Create the .tiff file.

If data file is very big, then BigTIFF will be created. Ok. Type file name (e.g. file.tif) and wait. Close GM.

14) Run command gdal_translate -of BLX file.tif file.blx from Windows command line. Copy file.blx to MobileMapperOffice \MAP\BLX folder.

15) Open \MAP\topo3d.ini and write the name of your file in BLX section


Note. It is not necessary that the entire grid of heights that covers your map was in one blx file. If the area is too large the creation of such a file can take too much time. You can break the coverage area of the map into several parts created as separate blx files and place them all in a folder

So, if you created several .blx files, then you can add them all here


16) Run MobileMapperOffice and create map. Relief data will be added automatically and truncated to the rectangle of your map.

Use this link for more info (in russian):

See also

External links