Joined: Tue Nov 18, 2008 6:49 am
Location: Geologist living in No Mans Land
Has thanked: 0 time
Have thanks: 22 time
GPS: Garmin Nuvi200 & GMXT on Nokia Navigator
This workflow describes how we can export a map from OpenStreetMap and convert it to Polish Format (.MP) that can be used in GPSMapEdit or even directly compiled with cGPSmapper compiler into a Garmin GPS map (.IMG).
First you will need to export the map from http://www.openstreetmap.org/:
- Using your internet browser navigate to http://www.openstreetmap.org/
- In the map display navigate to your area of interest like a city or a town etc.
- Click on the Export tab
- Choose Format to Export as OpenStreetMap XML Data
- Finally click the export button
This will create a file on your PC called 'map.osm'. This file will have all the POI, Polyline and Polygons data for your area map in OpenStreetMap XML format.
To convert the OpenStreetMap XML Data (map.osm) to Polish Format (.MP):
You will need to download and configure the osm2mp perl program by Liosha. Details of how to download this program and configure it on your PC can be found in the Topic "Osm2mp perl script From OpenStreetMap" at http://pkmaps.freeforums.org/osm2mp-perl-script-from-openstreetmap-t71.html
To run the osm2mp perl script on your osm.map file on your PC:
Start> run> cmd <enter>
In the command line navigate to the folder that contains your downloaded map.osm file from OpenStreetMap using the 'cd' command
Run the script as follows:
C:\Perl\bin\perl osm2mp.pl map.osm > map.mp
This will give you a map.mp file that will be in Polish Format.
This .mp (polish Format) can be opened/edited in GPSMapEdit or even be compiled directly with the cGPSmapper compiler.