
Hi developers, is there an option to make the gmapsupp visible/invisible in Basecamp? At the moment its always visible, but this is a bit annoying (since one has to wait some minutes until some hundred MBs are copied). Thanks for your ideas, Joern

With a few external tools you can set this, http://www.gmaptool.eu/en/content/map-visible-basecamp or http://www.javawa.nl/jdm_en.html Don't know if such option could be implemented in mkgmap?
Hi developers, is there an option to make the gmapsupp visible/invisible in Basecamp? At the moment its always visible, but this is a bit annoying (since one has to wait some minutes until some hundred MBs are copied). Thanks for your ideas, Joern

Thanks Minkol, I know those tools but they are off the tool mkgmap chain. Thats why I thought about an option. Joern 2016-07-07 12:15 GMT+02:00 Minko <ligfietser@online.nl>:
With a few external tools you can set this, http://www.gmaptool.eu/en/content/map-visible-basecamp or http://www.javawa.nl/jdm_en.html
Don't know if such option could be implemented in mkgmap?
Hi developers, is there an option to make the gmapsupp visible/invisible in Basecamp? At the moment its always visible, but this is a bit annoying (since one has to wait some minutes until some hundred MBs are copied). Thanks for your ideas, Joern
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi again, at first excuse me for mistyping - mobile phone keyboard... To my topic: I figured out that GMapTool can be used in command line mode. The following line works in my tool chain now. %GMapTool%\gmt\gmt.exe" -w -c %version%,1 %gmapsupp% (the "1" behind the version sets gmapsupp invisible) 2016-07-07 13:44 GMT+02:00 joern de <joern.de@gmail.com>:
Thanks Minkol, I know those tools but they are off the tool mkgmap chain. Thats why I thought about an option. Joern
2016-07-07 12:15 GMT+02:00 Minko <ligfietser@online.nl>:
With a few external tools you can set this, http://www.gmaptool.eu/en/content/map-visible-basecamp or http://www.javawa.nl/jdm_en.html
Don't know if such option could be implemented in mkgmap?
Hi developers, is there an option to make the gmapsupp visible/invisible in Basecamp? At the moment its always visible, but this is a bit annoying (since one has to wait some minutes until some hundred MBs are copied). Thanks for your ideas, Joern
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi all, I guess we can change mkgmap to set the corresponding bit, maybe someone can point me to the right place ? Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von joern de <joern.de@gmail.com> Gesendet: Donnerstag, 7. Juli 2016 14:50:40 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp Hi again, at first excuse me for mistyping - mobile phone keyboard... To my topic: I figured out that GMapTool can be used in command line mode. The following line works in my tool chain now. %GMapTool%\gmt\gmt.exe" -w -c %version%,1 %gmapsupp% (the "1" behind the version sets gmapsupp invisible) 2016-07-07 13:44 GMT+02:00 joern de <joern.de@gmail.com<mailto:joern.de@gmail.com>>: Thanks Minkol, I know those tools but they are off the tool mkgmap chain. Thats why I thought about an option. Joern 2016-07-07 12:15 GMT+02:00 Minko <ligfietser@online.nl<mailto:ligfietser@online.nl>>: With a few external tools you can set this, http://www.gmaptool.eu/en/content/map-visible-basecamp or http://www.javawa.nl/jdm_en.html Don't know if such option could be implemented in mkgmap? Hi developers, is there an option to make the gmapsupp visible/invisible in Basecamp? At the moment its always visible, but this is a bit annoying (since one has to wait some minutes until some hundred MBs are copied). Thanks for your ideas, Joern _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi all, Steve Ratcliffe wrote
I guess we can change mkgmap to set the corresponding bit,
maybe someone can point me to the right place ?
It is the bottom bit in the image header at ImgHeader.OFF_SUPP See the change at r2306. _______________________________________________
so we already know the bit to change, I checked the code and I think we can add an option to change it without much code. If I got that right, the bit doesn't exactly mean "hide gmapsupp in Basecamp" but more something like "treat img file as installed on the PC" So I wonder what the option name should be. And should mkgmap only set the bit when the file is a gmapsupp.img ? I think yes, so my suggested option name + description would be --hide-gmapsupp-on-pc Set a bit in the gmapsupp.img that tells PC software that the file is already installed on the PC and therefore there is no need to read it from the device. Any better suggestions? Gerd Gerd -- View this message in context: http://gis.19327.n5.nabble.com/make-the-gmapsupp-visible-invisible-in-Baseca... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Gerd, I think your suggestion meets my idea to set the marker bit within mkgmap. Would be nice to have that easy-to-use option. Joern 2016-07-08 8:59 GMT+02:00 Gerd Petermann <gpetermann_muenchen@hotmail.com>:
Hi all,
Steve Ratcliffe wrote
I guess we can change mkgmap to set the corresponding bit,
maybe someone can point me to the right place ?
It is the bottom bit in the image header at ImgHeader.OFF_SUPP See the change at r2306. _______________________________________________
so we already know the bit to change, I checked the code and I think we can add an option to change it without much code.
If I got that right, the bit doesn't exactly mean "hide gmapsupp in Basecamp" but more something like "treat img file as installed on the PC"
So I wonder what the option name should be. And should mkgmap only set the bit when the file is a gmapsupp.img ? I think yes, so my suggested option name + description would be --hide-gmapsupp-on-pc Set a bit in the gmapsupp.img that tells PC software that the file is already installed on the PC and therefore there is no need to read it from the device.
Any better suggestions?
Gerd
Gerd
-- View this message in context: http://gis.19327.n5.nabble. com/make-the-gmapsupp-visible-invisible-in-Basecamp-tp5877525p5877604.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Joern, joern de wrote
I think your suggestion meets my idea to set the marker bit within mkgmap. Would be nice to have that easy-to-use option.
Attached is a patch that implements the option. A binary based on r3694 is here: http://files.mkgmap.org.uk/download/309/mkgmap.jar @Steve: Please review. I am not sure if this should be done via FileSystemParam and I didn't implement the corresponding code to read the bit flag from an input file. ciao, Gerd -- View this message in context: http://gis.19327.n5.nabble.com/make-the-gmapsupp-visible-invisible-in-Baseca... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Gerd
@Steve: Please review. I am not sure if this should be done via FileSystemParam and I didn't implement the corresponding code to read the bit flag from an input file.
I didn't see an attached patch. Using FileSystemParam sounds the right way to get the flag into the img creation routines though. Cheers Steve

Steve Ratcliffe wrote
I didn't see an attached patch. Using FileSystemParam sounds the right way to get the flag into the img creation routines though.
Oops, here it is : hide-gmapsupp-on-pc.patch <http://gis.19327.n5.nabble.com/file/n5882296/hide-gmapsupp-on-pc.patch> Gerd -- View this message in context: http://gis.19327.n5.nabble.com/make-the-gmapsupp-visible-invisible-in-Baseca... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Gerd
Oops, here it is : hide-gmapsupp-on-pc.patch <http://gis.19327.n5.nabble.com/file/n5882296/hide-gmapsupp-on-pc.patch>
Yes, indeed looks good. Cheers, Steve

Thanks Gerd, I tested r3695 successfully. Switched hide-gmapsupp-on-pc in template.args on | off | on. Works fine for me. Joern 2016-09-11 14:48 GMT+02:00 Steve Ratcliffe <steve@parabola.me.uk>:
Hi Gerd
Oops, here it is :
hide-gmapsupp-on-pc.patch <http://gis.19327.n5.nabble.com/file/n5882296/hide-gmapsupp-on-pc.patch>
Yes, indeed looks good.
Cheers, Steve
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (5)
-
Gerd Petermann
-
Gerd Petermann
-
joern de
-
Minko
-
Steve Ratcliffe