Here is an example how to build a small map from scratch, using mkgmap and my style files. In this example I will make an openfietsmap for the Kärnten/Slovenia area. The example scripts are stored here 1) Determine bounding box in the export tab on http://www.openstreetmap.org for the osm map you want to create 2) install wget.exe from http://en.wikipedia.org/wiki/Wget, in this example I install it in the directory C:\Garmin\mkgmap\wget\ 3) run get_karintie_osm.bat, you can edit the bbox coordinates from step 1 C:\Garmin\mkgmap\wget\wget.exe http://xapi.openstreetmap.org/api/0.6/map?bbox=14.205,46.026,14.827,46.647 -O karintie.osm 4) install mkgmap from http://www.mkgmap.org.uk/snapshots/ I've installed it in the directory C:\Garmin\mkgmap\ Copy all the style files folder to the directory C:\Garmin\mkgmap\Styles Make sure the style files don't have any extention (like *.txt)! 5) edit karintie.args: - choose a family-id for the map (ex. 30010) - overview-mapname: 30010000 mapname: 30010001 description: Karintië-Slovenië input-file: karintie.osm If karintie.osm is too big, split up the osm file using the splitter and then create several mapnames, like 30010001, 30010002, 30010003 etc for the indivual osm files 7) I've copied the openfietsmap TYP file 10010.TYP and renamed it to 30010.TYP 8) Run karintie.bat: java -Xms1024m -Xmx1024m -ea -jar C:\Garmin\mkgmap\mkgmap\mkgmap.jar -c karintie.args 30010.TYP 9) Install the map files with mapsettoolkit in mapsource 10) If the FID fields and the Productcode does not correspond with TYP file: answer yes 11) run mapsource and use the map :-) Contourlines for this area can be downloaded from http://openmaps.eu/ or Computerteddy |



