logo separator

[mkgmap-dev] finalize and some ways with overlays

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu May 8 18:42:54 BST 2014

Hi Bernd,

I think that's the idea of the finalize section. It is called for
each added element.

Gerd

> From: weigelt.bernd at web.de
> To: mkgmap-dev at lists.mkgmap.org.uk
> 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
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140508/1163db00/attachment.html>


More information about the mkgmap-dev mailing list