[mkgmap-dev] What is wrong in my style rules
From Henning Scholland osm at aighes.de on Mon Nov 19 12:26:36 GMT 2012
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
- Previous message: [mkgmap-dev] What is wrong in my style rules
- Next message: [mkgmap-dev] What is wrong in my style rules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list