logo separator

[mkgmap-dev] poiDispFlag="0xc" in locatorconfig.xml

From Steve Ratcliffe steve at parabola.me.uk on Tue Feb 5 20:09:15 GMT 2013

Hi WanMil

First to fully answer the original question the known bits are believed 
to be:
   0x2 transparent map
   0x4 show street before house number in addresses eg "Sterzinger Straße 1"
   0x8 show the zip/postal code before the city eg "6020 Innsbruck"

Only the last two should be allowed in the Locator file.

The bits only affect the display of addresses, there is no functional
difference as far as I know.

On 05/02/13 18:51, WanMil wrote:
> I've just found out that there might be a problem in the source code. If
> --transparent is set the poiDispFlag of the TREFile is initialized with
> constant POI_FLAG_TRANSPARENT=0x2. If the poiDispFlag in the
> LocatorConfig.xml is set this is overwritten. So the --transparent flag
> should have no effect for POIs in Austria because the poiDispFlag is
> configured to 0xc.

> @Steve, do you know if that matters?

I see that the transparent flag is OR'ed in, but the other ones
appear to overwrite everything. So it matters if they are run
in the wrong order ;)

So ideally the locator config would only allow the address format
bits to be specified and use a more symbolic representation.
The bits would then be properly masked and or'ed in.

..Steve


More information about the mkgmap-dev mailing list