Am 19.11.2012 13:06, schrieb Chris66:
> Hi,
> what is wrong with these rules?
>
> When I activate the second rule I get a corrupted gmapsupp.img.
> (The first one is working ok).
>
>
> # Maxspeed (test)
>
> highway=* & ref=* & maxspeed > 1
> { add display_name = '${ref} (${maxspeed})' }
>
> # highway=* & name=* & maxspeed > 1
> { add display_name = '${name} (${maxspeed})' }
>
>
> # Set highway names to include the reference if there is one
> ...
In general I think it's better to use set instead of add. I don't know
what happens if you use add display_name if display_name already exists.
I would use:
highway=* & maxspeed > 1 { set display_name='${ref}
(${maxspeed})'|'${name} (${maxspeed})'|'(${maxspeed})' }
Btw: How does display_name work?
Henning
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev