Hi,

I have a question about mkgmap:road-speed-class and the
road_speed/road_class elemets.

The documentation only writes that "mkgmap:road-speed-class"
overrides "road_speed".
But if I use "road_speed", what does this mean for 
"mkgmap:road-speed-class"?

Example:

highway=motorway                [0x01 road_class=4 road_speed=7 level 3]
maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh() >  60 { set 
mkgmap:road-speed-class = 4 }

Will the second rule overwrite the first one?
If yes, how can I check if road_speed was already set or not?
If not, will the second rule have ever any affect?

This construct is used in the default mkgmap style, setting
road_class/road_speed in the action block, and later according
to maxspeed in inc/roadspeed.

Thanks,
  Thorsten


-- 
Thorsten Kukuk, Senior Architect SLES & Common Code Base
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to