[OSM-newbies] Getting from OSM to Garmin
Ian Wills
swanilli at gmail.com
Sun Mar 15 21:18:26 GMT 2009
Thank you Hilton and Paul.The problem was fixed, as you suggested, by the
mkgmap parameters. This is the command line I used:
java -jar mkgmap.jar --family-2650 --latin1 --mapname=26500009
--transparent --description=OSM_AU_LHI test.osm
I am not sure if the --latin1 or --transparent options are critical but
without the --mapname switch I noticed that when I ran MapSetToolKit I got
these messages:
== Warning: repeated map ID number.
== Map ID 63240001 (3C4F741), file C:/Garmin/JoinedFiles/63240001.img,
file C:/Garmin/JoinedFiles/26500009.img.
There were warnings, result can be faulty.
I had thought that I could just change the default file name (63240001.img)
in Windows but it seems that the mapname must be embedded in the img file.
With the mapname option the warnings disappeared and I can upload via both
MapSource and MapSetToolKit.
I think this might explain a few other upload failures I have had using maps
created by other people i.e. they use 63240001 as the mapname no matter what
they rename the file to.
Thank you again.
2009/3/15 Hilton Long <seldom.seen at verizon.net>
>
>
> Message: 11
> Date: Sun, 15 Mar 2009 17:38:03 +1100
> From: Ian Wills <swanilli at gmail.com>
> Subject: [OSM-newbies] Getting from OSM to Garmin
> To: newbies at openstreetmap.org
> Message-ID:
> <2e3fb3a20903142338r28066345x8487b4d7cdac9e6a at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >Here is my problem: I have edited a map (Lord Howe Island to be precise
> >permalink:
> >http://www.openstreetmap.org/?lat=-
> >31.5467&lon=159.0684&zoom=13&layers=B00
> 0FTF)
> >and I now want to get the map onto my Garmin Oregon 300 but, try as I
> might,
> >I can get it there but I can't see it.
>
> >This is what I did:
> >1. Downloaded the map with JOSM.
> >2. Saved as a *.osm file.
> >3 Converted this to an *.img file using mkgmap.
> >4. Loaded the map onto MapSource using MapSetToolKit.exe.
>
> >Having got to this point I can I can view it in MapSource and can upload
> it
> >to my Oregon 300 and view it there provided it is the only map I have on
> the
> >unit in gmapsupp.img.
>
> I think you need to include the --transparent argument in your mkgmap
> command line. I don't know about the Oregon, but it works on a 60CSX.
>
> The following Windows XP batch file lists all the command line options
> available to a particular version of mkgmap to a text file called
> mkgmap_options.txt. It should be on a single line until the pause.
>
> java.exe -Xmx512M -jar "c:\program files\mkgmap\mkgmap.jar" --help=options
> >
> mkgmap_options.txt
> pause
>
>
>
> _______________________________________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/newbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20090316/344b437d/attachment.html>
More information about the newbies
mailing list