Mkgmap can go direct from .osm to .img

Presumably the .osm file you have is too large for a single tile so you will
also need the splitter tool they provide

It's then a case of the following pseudo-code

java -jar splitter.jar australia.osm
java -jar mkgmap.jar --latin1 *.osm.gz

If you get errors with heap space when running mkgmap try the following

java -Xmx1024M -jar mkgmap.jar --latin1 *.osm.gz

The value of -Xmx can go to 2048M on 32 bit or higher on 64

If you want extra options (including experimental routable maps) then a
suitable command line might also be 

java -Xmx2048M -jar --latin1 --gmapsupp --route --net --code-page=1252
--country-name="Australia" -- country-abbr=AUS --tdbfile --tdb-v4 *.osm.gz

Be careful with wrapping on the above

It may also be quicker to gunzip the files manually before running them
through mkgmap

Paul

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Tony Morris
> Sent: 24 February 2009 09:29
> To: [email protected]
> Subject: [OSM-newbies] OSM -> Garmin
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello everyone,
> I have tried in vain to generate Garmin maps from OSM data 
> (specifically, the australia extract of planet.osm).
> I am using osm2mp to convert to Polish format, then I have 
> tried cgpsmapper to go from .mp to .img and hit problems:
> error R011: NODID points cannot be closer than 5.4m
> 
> I tried using mkgmap but ran into problems that way too (I 
> forget the details).
> 
> 1) Am I doing it right?
> 2) Can a Garmin map be built from OSM easily some other way 
> (preferably Linux, but Windows if I must)?
> 3) Is there a free (as in speech) program equivalent to 
> cgpsmapper (specifically to go from Polish to Garmin)?
> 
> Thanks for any tips.
> 
> - --
> Tony Morris
> http://tmorris.net/
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFJo73EmnpgrYe6r60RAuLpAKC6+cyKm/ZVVyUQ40u5DPuA1gzfrwCgvJdE
> 8N+O5tBOlU6NtAiVricOoaY=
> =rHrQ
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> newbies mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/newbies
> 



_______________________________________________
newbies mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/newbies

Reply via email to