Hi Steve,
> In this case you could give each value a default value of nothing, so
> it would always match with just the one rule
>
> { name '${ref|def:} ${name|def:} ${name1|def:} ${name2|def:}' }
>
> But you would get extra spaces when any of the value were empty.
>
> You should also be able to do this to append any number of things
> with only one line for each thing to be appended:
>
> highway=* {
> set fullname='';
> set fullname='${ref}';
> set fullname='${fullname} ${name}';
> set fullname='${fullname} ${name1}';
> set fullname='${fullname} ${name2}';
> name '${fullname}';
> }
Thank you very much, I will try either approach for naming the bus stops.
The attributes I'm planning to include are name, ref, operator,
shelter=yes/no, possibly even amenity=waste_basket.
Marko
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev