logo separator

[mkgmap-dev] understanding style files

From toc-rox easyclasspage at googlemail.com on Wed Aug 29 19:57:29 BST 2012

You stated out that name isn't processed twice.
My question: Is it possible to implement that ?

Here's a real life example:

Data:
amenity: restaurant
building: yes
cuisine: regional
name: Gasthof Stern
stars: 3
tourism: hotel

Point style:
tourism = hotel & name = * { name '${stars}* ${name} (Hotel)' | '${name}
(Hotel)' } [0x2b01 resolution 24 continue with_actions]
...
amenity = restaurant & cuisine = regional & name = * {name '${name}
(${cuisine}, Restaurant)'} [0x2a10 resolution 24]

Result:
Hotel name: "3* Gasthof Stern (Hotel)"
Restaurant name: "3* Gasthof Stern (Hotel)"

Expected result:
Hotel name: "3* Gasthof Stern (Hotel)"
Restaurant name: "3* Gasthof Stern (Hotel) (regional, Restaurant)"

Regards Klaus



--
View this message in context: http://gis.19327.n5.nabble.com/understanding-style-files-tp5722659p5722665.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list