logo separator

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

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Feb 15 13:41:19 GMT 2018

Hi Steve,

I cannot reproduce that. I changed the code in TREHEader so that the bit is no set:
//              if (props.containsKey("transparent"))
//                      poiDisplayFlags |= POI_FLAG_TRANSPARENT;

Routing doesn't work in Mapsource or Basecamp.
I've double checked with TreDisplay that the flag is really not set in any map.


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steve Ratcliffe <steve at parabola.me.uk>
Gesendet: Donnerstag, 15. Februar 2018 14:01:14
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] --route and --transparent

On 15/02/18 11:04, Gerd Petermann wrote:
> 1) it sets the flag in the TRE field at offset 0x3f
> 2) it disables the additional 0x4b background polygons
> Maybe only the combination of both actions causes trouble in the PC programs?

cgpsmapper had the option to do 2) without doing 1) which it calls a
semi-transparent map.

I tried un-setting the flag on a transparent map and routing started
working again in mapsource. So it is just the flag that causes the
problem.  I don't know what the flag really does.

I also noted from the documentation that cgpsmapper seems to add 32 to
the draw priority of a transparent map, which is something that we do
not do.

mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk

More information about the mkgmap-dev mailing list