[OSM-newbies] OSM -> Garmin

Mike setimike at gmail.com
Tue Feb 24 17:09:29 GMT 2009


Hi Tony:

I am using osm2mp to get to Polish format, and then using mkgmap to
generate a routable map. I have tried using mkgmap to go directly from
osm to Garmin, but I am losing my POI's when I do it that way.


I am running mkgmap on a Linux system, and as long as I use osm2mp
first, it is working fine for me.
These are the command lines I am running in a script to generate routable maps:

osm2mp.pl cyprus.osm > cyprus.mp

java -Xmx1024M -jar ./mkgmap/mkgmap.jar --mapname='64530001' --latin1
--gmapsupp \
	--country-name=CYPRUS --country-abbr=CYP --family-name="Open Street Map" \
	--description="OSM Cyprus $DATE" --net --route cyprus.mp

I haven't used cgpsmapper, but if you get errors with mkgmap, I can
try to help you with it.

--Mike

On Tue, Feb 24, 2009 at 2:16 PM, Paul <news at pointdee.co.uk> wrote:
> 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: newbies-bounces at openstreetmap.org
>> [mailto:newbies-bounces at openstreetmap.org] On Behalf Of Tony Morris
>> Sent: 24 February 2009 09:29
>> To: newbies at openstreetmap.org
>> 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
>> newbies at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/newbies
>>
>
>
>
> _______________________________________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/newbies
>




More information about the newbies mailing list