Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-09-12 Thread joern de
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 :

> Hi Gerd
>
> Oops, here it is :
>> 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
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-09-11 Thread Steve Ratcliffe

Hi Gerd


Oops, here it is :
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


Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-09-10 Thread Gerd Petermann
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
  

Gerd



--
View this message in context: 
http://gis.19327.n5.nabble.com/make-the-gmapsupp-visible-invisible-in-Basecamp-tp5877525p5882296.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


Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-09-10 Thread Steve Ratcliffe

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
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-09-08 Thread Gerd Petermann
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-Basecamp-tp5877525p5882181.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


Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-09-08 Thread joern de
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 :

> 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
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-07-08 Thread Gerd Petermann
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


Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-07-07 Thread Steve Ratcliffe


Hi Gerd


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.

..Steve
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-07-07 Thread Gerd Petermann
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  im Auftrag von joern 
de 
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 
mailto:joern...@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 
mailto:ligfiet...@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


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-07-07 Thread joern de
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 :

> 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 :
>
>> 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
>>
>
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-07-07 Thread joern de
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 :

> 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
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] make the gmapsupp visible/invisible in Basecamp

2016-07-07 Thread Minko
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