Using my own maps

Developers
2012-08-27
2013-05-29
  • Hi all,

    How can we use my own vector map in gpsmid application?
    I mean I don't wanna use OpenStreetMaps. I want  to know how I can convert my own map to a proper map format.

    I would appreciated if anyone could help me.

     
  • Jyrki Kuoppala
    Jyrki Kuoppala
    2012-08-27

    Hi,

    It's hard to answer without knowing what format your map is in. But I'll try.

    If your map is something which the OGR toolset can read, e.g. ESRI shapefile (filename *.shp and a bunch of others), one possibility is to use an ogr to OSM converter. I've used succesfully pnorman's og2osm.py, see  http://wiki.openstreetmap.org/wiki/Ogr2osm

    In addition to find a right program, you probably need to do tag conversion - converting the tags from the map you have to something which is understood by OSM tools like Osm2GpsMid. This might not be entirely mandatory, as Osm2GpsMid supports style files and you could write a style file to understand the tags of your map data.

    Once you have converted your map data to .osm format, then you can follow the instructions at https://sourceforge.net/apps/mediawiki/gpsmid/index.php?title=Getting_started#Using_Osm2GpsMid_to_build_your_own_midlet

     
  • Jyrki Kuoppala
    Jyrki Kuoppala
    2012-08-27

    Addition: I like ogr2osm.py, as tag conversion with it is relatively simple; just write a translation python script and put it in translations directory used to run ogr2osm.py.

    For some types of map data, you might have to do tag conversion, as Osm2GpsMid has some hard-coded things for some types of map data.