Re: [mkgmap-dev] max-jobs patch

2018-02-16 Thread Mike Baggaley
Hi Gerd, I misread the --max-jobs with no value functionality. Please find attached a revised patch that does function that way when the max-jobs option is specified with no value. Cheers, Mike -Original Message- From: Gerd Petermann [mailto:gpetermann_muenc...@hotmail.com] Sent: 16

Re: [mkgmap-dev] --route and --transparent

2018-02-16 Thread Gerd Petermann
Hi all, just to make sure that there is a need for this and I am not wasting my time: Do we really need transparent routable maps with DEM in the transparent layer? I always thought that one would use transparent layers above the routable map, for example to add a buildings layer, but it seems

Re: [mkgmap-dev] --route and --transparent

2018-02-16 Thread Gerd Petermann
Hi Nick, reg. crashes: no idea. I did not notice them because they did not appear when I tried it. I can reproduce them now. What a mess :-( I'll see if I can find a working combination later... Gerd Von: mkgmap-dev

Re: [mkgmap-dev] Need help with string handling in mkgmap

2018-02-16 Thread Manfred Haiduk
Hi all after playing a little bit with the syntax of "conf" and "subst" i finally found a solution, which suits for my needs : power=generator & generator:source=wind     { name '${manufacturer} (${ref},${height|subst:"m=>"} m)' | '${manufacturer} (${ref})' |     '${manufacturer}

Re: [mkgmap-dev] --route and --transparent

2018-02-16 Thread osm@pinns
Hi Gerd Any polygon can have transparency in a TYP file but I'm not so sure what the effect would be of 0x4a a) having transparency and b) transparency and a draworder of 0 btw Mapsource profiles crash with transparency=S ; is that because any transparency causes this to happen? Nick On

Re: [mkgmap-dev] --route and --transparent

2018-02-16 Thread Gerd Petermann
Hi Mike, more meaningful might be transparent=no|full|semi ? no: don't set transparent flag in TRE, add 0x4b background polygon full: set transparent flag and don't add 0x4b background polygon semi: set transparent flag and add 0x4b background polygon My understanding is that S or semi is only

Re: [mkgmap-dev] --route and --transparent

2018-02-16 Thread Mike Baggaley
Hi Gerd, I suggest the interface would be better being slightly more meaningful than transparent=N|Y|S. I'm also not clear what the use of a transparent map with a non-transparent background is - surely if it has a non-transparent background you can't see through it anyway. Obviously I'm missing

Re: [mkgmap-dev] --route and --transparent

2018-02-16 Thread Gerd Petermann
Hi all, attached is a patch that implements the --transparent option like this: - If not given, transparent flag is not set and 0x4b background is added - if given with no parameter, parameter Y is added - if given with parameter Y, transparent flag is set and 0x4b background is NOT added - if