[OSM-newbies] MKGMAP for Garmin + tags and legend

Mark Williams mark.666 at blueyonder.co.uk
Tue Oct 9 13:53:13 BST 2007


Mark Huizer wrote:
>> Then what ?
>> 1. where do I save the application file? I tried several possibilities, 
>> like my OSM data file or directly on C:\ but no luck.
>>     
>
> 'the application file'? You mean that tar.gz file? I think saving it wherever you like
>   
>> 2. the application's filename is mkgmap-r291.tar.gz . but the DOS 
>> command line reads <java -jar mkgmap.jar data.osm> ! what is that 
>> <mkgmap.jar> file supposed to be and where is it located ?
>>     
>
> gz and tar.gz indicate the file format. tar is an archive, like zip/arj/whatever, commonly used in Unix systems. gz is compression. Obviously the distribution or the author is more Unix than Windows minded. Check for tools that can unpack gz (zlib, gzip, whatever terms might help you in Google) and unpack the tar files. I think there are tools available that to tar.gz as well as zip, rar, arj, whatever
>
>   
I think winzip does this.
Having extracted the file mkgmap.jar, you need to either write a little 
.bat file to start it via mouse, or Start Menu -> Run & enter "cmd", 
then cd to wherever you extracted the file (ie >cd \example\<enter>), 
then type java -jar mkgmap.jar myfile.osm (& <enter>, obviously..) & 
wait a bit while it chugs. You then copy 63240001.img to your device, 
name it to gmapsupp.img, & restart your GPS.

You may not be aware of the perl scripts to extract bigger chunks than 
josm can from the database, you tend to need these to get a decent data 
file. They're not well documented* in the wiki, you have to browse the 
svn files to find them.

The "little .bat file" would be whatever you typed in to do the above, 
which you can then save to desktop (or whatever) & double-click in future.

Mark


* Meaning, I can't find much there.





More information about the newbies mailing list