[mkgmap-dev] delete name not working
From GerdP gpetermann_muenchen at hotmail.com on Fri Apr 25 18:00:49 BST 2014
Hi Franco, the style manual says about Action block name: This sets the first label of the element but only if it is not already set. This is a helper action. The same effect can be produced with different notations as it is shown in the following example where all three lines have the same effect. {name '${name} (${ref})' | '${ref}' | '${name}'} {add mkgmap:label:1='${name} (${ref})' | '${ref}' | '${name}'} mkgmap:label:1!=* {set mkgmap:label:1='${name} (${ref})' | '${ref}' | '${name}'} So, if you delete the name tag after using the name action, it has no effect on the tag mkgmap:label:1. Gerd franco_bez wrote > Just a question for my understanding of the problem: > > This rule not only sets the "name" but also mkgmap:label:1 ? > > I thought that calling - delete name - would erase the name, no matter > what it was assigned before. > > would it make any difference having a rule with the set command instead ? > > would - delete name - then work as expected ? -- View this message in context: http://gis.19327.n5.nabble.com/delete-name-not-working-tp5804145p5804172.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] delete name not working
- Next message: [mkgmap-dev] delete name not working
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list