logo separator

[mkgmap-dev] POI indexing, problem with label 0x2800

From Andrzej Popowski popej at poczta.onet.pl on Thu Feb 2 16:15:20 GMT 2017

Hi Gerd,

the expected outcome of this patch is no change in img but some data 
omitted in MDR index. This should be:
- for Mdr4 POI type 0x28 is omitted
- for Mdr10 and Mdr11 indexes for POI type 0x28xx are omitted,
- for Mdr15 labels for POI type 0x28xx are omitted.

Patch looks like a simple change, hope it works as expected. I have more 
questions or suggestions, which are more difficult for me to implement 
in code.

There is mkgmap option --make-poi-index with comment in help: "Generate 
the POI index (not yet useful)". Actually it is used in file 
MapBuilder.jave. It enables some kind of POI index in LBL subfile. My 
question is, if index in LBL should correspond to index in MDR. 
Currently MDR contains a selection of POI types, while LBL gets all. I'm 
interested in removing indexing of POIs 0x28xx from LBL too.

Next question is about this selection of POI types in MDR. My patch 
removes type 0x28xx from selection but I think there are other types 
that can be added. For example POIs 0x64xx-0x66xx.

Last question is about NT POI types, with code greater than 0x10000. I 
can't find any indexing for them. I think functions (default meaning of 
POI object) of these POIs are similar to standard POIs, probably there 
should be some indexing but maybe in different structures of MDR and img?

-- 
Best regards,
Andrzej


More information about the mkgmap-dev mailing list