Hi Bernd, I think that's the idea of the finalize section. It is called for each added element.
Gerd > From: [email protected] > To: [email protected] > Date: Thu, 8 May 2014 19:34:49 +0200 > Subject: [mkgmap-dev] finalize and some ways with overlays > > 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 > > _______________________________________________ > mkgmap-dev mailing list > [email protected] > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
