[mkgmap-dev] Problem Generating gmapsupp.img
From Andrew Ayre andy at britishideas.com on Sat Mar 21 17:10:06 GMT 2009
Steve Ratcliffe wrote: > Hi Andy > >> Have you been able to make any progress on the map transparency? Any >> ideas when you might be able to add this feature? :) > > Yes, it should be in there if you grab a recent build. > > You use the --transparent option. Let me know your results. > > ..Steve Hi Steve, I must be making a silly mistake because I cannot get it to work. I am using mkgmap revision 985. Here are my test files: http://files.britishideas.com/index.php?dir=mkgmap/ osmfile.tar.gz contains 53255092.osm, which is a set of contour lines. 63255092.img is a previously generated OSM map tile for the same area covered by the contour lines. This area is 1 deg x 1 deg in eastern Switzerland. If I do: $ java -Xmx1560M -jar ./mkgmap.jar --style-file=./mapstyle --name-tag-list=ele,name ./53255092.osm $ java -Xmx1560M -jar ./mkgmap.jar --gmapsupp ./63255092.img ./53255092.img then I see the map on my GPS unit (Garmin Colorado) but contour lines only. This is expected because I didn't use the transparent option. However if I then use the transparent option for the contour lines img file: $ java -Xmx1560M -jar ./mkgmap.jar --style-file=./mapstyle --name-tag-list=ele,name --transparent ./53255092.osm $ java -Xmx1560M -jar ./mkgmap.jar --gmapsupp ./63255092.img ./53255092.img then the map doesn't appear on the GPS unit at all. It's listed in the set of available maps on the menu though. Any ideas what I am doing wrong? thanks, Andy -- Andy PGP Key ID: 0xDC1B5864
- Previous message: [mkgmap-dev] Problem Generating gmapsupp.img
- Next message: [mkgmap-dev] [PATCH] swap pow for sqrt to save time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list