logo separator

[mkgmap-dev] One node - two index entries?

From Bernhard Hiller bhil at gmx.de on Sat Nov 9 13:36:58 GMT 2013

Background:
Often hotels have a restaurant also, the combination of 
amenity=restaurant and tourism=hotel on one node (or area) is quite 
common. Now the hotel should be in "Lodging - Hotel", and the restaurant 
somewhere in "Food and Drink".
Hence my question is: is it possible to get one node into the index 
twice in different categories?

I tried following rules:

tourism=hotel & amenty!=* { name 
'${name|def:}(${stars}*)${operator|def:}' | '${name} ${operator}' | 
'${name}' | '${operator}' } [0x2b01 level 2]
tourism=hotel & amenty=* { name 
'${name|def:}(${stars}*)${operator|def:}' | '${name} ${operator}' | 
'${name}' | '${operator}' } [0x2b01 level 2 continue]
...
amenity=restaurant [0x2a00 level 0]

On my Oregon 600, only the hotel is indexed, but not the restaurant.

Is that currently possible with some different rules / order of rules, 
or not yet possible, or even not possible at all?


More information about the mkgmap-dev mailing list