creating garmin map layer from gpx tracks

Hi, I am trying to create a transparent garmin gmapsupp.img layer from gpx tracks. The idea is to merge this layer (it contains special cycle routes) in the end with another gmapsupp.img containing the map. I did the following: Load all tracks in josm, convert to a data layer and tag the tracks highway=cycleway. Then save as paths.osm. Use the command mkgmap --gmapsupp --transparent --remove-short-arcs --style-file=XXXX paths.osm to convert the data to a gmapsupp.img file. As style file I use the stuff that is used to create the map containing all other data. However, the gmapsupp.img created from the tracks looks like empty if loaded onto the GPS device, nothing shows up, as if the map covers no area at all. What's wrong with my approach? How can that be done? Many thanks in advance, Andi

You can try http://www.gpsbabel.org/ to convert gpx to osm format. Or this tool: http://www.javawa.nl/imgfromgpx_en.html can create garmin img tiles from gpx tracks and pois (it uses built-in version of mkgmap)

I do something similar to include the British National Grid lines as an overlay on the OSM map. Rather than creating a gmapsupp file from your tracks, generate img files. Then use another run of mkgmap to combine these with the img files for your main map into one gmapsupp. This works fine for me. Roger On 05/08/2012 10:21, Andreas B. Mundt wrote:
Hi,
I am trying to create a transparent garmin gmapsupp.img layer from gpx tracks. The idea is to merge this layer (it contains special cycle routes) in the end with another gmapsupp.img containing the map.
I did the following:
Load all tracks in josm, convert to a data layer and tag the tracks highway=cycleway. Then save as paths.osm.
Use the command
mkgmap --gmapsupp --transparent --remove-short-arcs --style-file=XXXX paths.osm
to convert the data to a gmapsupp.img file. As style file I use the stuff that is used to create the map containing all other data.
However, the gmapsupp.img created from the tracks looks like empty if loaded onto the GPS device, nothing shows up, as if the map covers no area at all.
What's wrong with my approach? How can that be done?
Many thanks in advance,
Andi _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- ------------------------------------------------------------------------ Roger Calvert ------------------------------------------------------------------------

Hello, just an idear: did you set a higher draw-priority to your transparent overlay map? Hasemann Am Sonntag 05 August 2012, 11:21:10 schrieb Andreas B. Mundt:
Hi,
I am trying to create a transparent garmin gmapsupp.img layer from gpx tracks. The idea is to merge this layer (it contains special cycle routes) in the end with another gmapsupp.img containing the map.
I did the following:
Load all tracks in josm, convert to a data layer and tag the tracks highway=cycleway. Then save as paths.osm.
Use the command
mkgmap --gmapsupp --transparent --remove-short-arcs --style-file=XXXX paths.osm
to convert the data to a gmapsupp.img file. As style file I use the stuff that is used to create the map containing all other data.
However, the gmapsupp.img created from the tracks looks like empty if loaded onto the GPS device, nothing shows up, as if the map covers no area at all.
What's wrong with my approach? How can that be done?
Many thanks in advance,
Andi _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Priority need to be set high and the map needs to be transparent. When you 'merge' imgs into a gmapsupp make sure your typ file includes the type number you have allocated to your cycleway. Problem is : mixing priorities of various imgs in one gmapsupp can lead to unexpected results. It is better, to create a new gmapsupp.img for your cycle routes and typ file and rename it - this only works if your device can cope with multiple gmapsupps -- View this message in context: http://gis.19327.n5.nabble.com/creating-garmin-map-layer-from-gpx-tracks-tp5... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (5)
-
Andreas B. Mundt
-
Minko
-
n Willink
-
Olaf Hasemann
-
Roger Calvert