logo separator

[mkgmap-dev] finalize and some ways with overlays

From Bernd Weigelt weigelt.bernd at web.de on Thu May 8 18:34:49 BST 2014

Hi 

i have a problem, that the finalize section to often calls inc/access, in my 
case for every overlay and the routable way.
IMHO it should call it only for the routable way(s) with road_speed and 
road_class.


an example

lines:
highway=cycleway	[0x1200a resolution 23-23 continue]
highway=cycleway	[0x1100a resolution 24 continue]
highway=cycleway 	[0x0a resolution 24 road_class=0 road_speed=1]

<finalize>
# The finalizer section is executed for each element when a rule with an 
element type matches

# calculate the access rules
include 'inc/access' ;

------
inc/access includes for testing some ways this additional test
highway=* & bicycle=official { echo ' 1 ${highway} | ${bicycle} | 
${mkgmap:bicycle} ' }

output for this way

http://www.openstreetmap.org/way/243198140

....
243198140:  1 cycleway | official | null 
243198140:  1 cycleway | official | null 
243198140:  1 cycleway | official | null 
..

How can i fix this?
Or is there something wrong in my style?

Bernd



More information about the mkgmap-dev mailing list