logo separator

[mkgmap-dev] amenity=restaurant and search index

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Apr 27 12:18:53 BST 2017

Hi all,

I've postponed the problems regarding --lower-case and looked at other problems in the index.
I've noticed that some restaurants do not show up where expected.
I am not sure if this is caused by wrong data in the index or simply by style rules, probably both.
For example:
I have a small test file containing some amenity=restaurant, but none has cuisine=international (0x2a06)  , still
the search menu shows an entry for that category but finds no entry.
On the other hand, many restaurants are found where not expected, for example in category pizza I find all 0x2a00 

The default style contains rules to add POI with type  0x2a and it seems to work for many of them,
but at least these last two rules look suspicious:
amenity=restaurant & cuisine=* [0x2a13 resolution 24]
amenity=restaurant [0x2a00 resolution 24]
Why do we use two different types for these "mop up" rules?

Gerd



More information about the mkgmap-dev mailing list