[mkgmap-dev] Append Name with general rules via style-file
From Steve Ratcliffe steve at parabola.me.uk on Fri Aug 7 14:51:22 BST 2009
With these two rules, even if they are run in same order as they are written, the second one could never have an effect if ${name} is defined. > highway=* { name '${name} (${ref})' | '${ref}' | '${name}' } > highway=* { name '${name} ${name1}' | '${name1}' | '${name}' } This is because you can only set the name once. If ${name} is set then the name will be set in the first rule and so the only way that the second rule can be used is if ${name1} is set and ${name} is not set. You could fix that by doing everything together, if that is the effect you want: highway=* { name '${name} (${ref})' | '${ref}' | '${name} ${name1}' | '${name1}' | '${name}' } ..Steve
- Previous message: [mkgmap-dev] Append Name with general rules via style-file
- Next message: [mkgmap-dev] Append Name with general rules via style-file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list