logo separator

[mkgmap-dev] Finalize section not working as expected

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Mar 24 07:23:56 GMT 2014

Hi Franco,

when you put these lines in the finalize section,
is that before or after the line
include 'inc/access';
?
Remember that mkgmap evaluates mkgmap:bicycle=*, not bicycle=*.

Gerd

> Date: Sun, 23 Mar 2014 22:47:05 -0700
> From: franco.bez at web.de
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Finalize section not working as expected
> 
> the rules in question are:
> /
> highway=path
>            & (
>               smoothness~'.*(horrible|impassable)' |
>               smoothness=very_bad |
>               mtb:scale>0 | 
>               mtb:scale:imba>0
>               )
>                 { set bicycle=no }
> highway=path
>             & (
>                sac_scale~'.*(mountain|alpine)_hiking' |
>                smoothness=bad
>                )
>                 { add bicycle=no; }
> /
> 
> When I put then directly in the lines file, before the path definition
> rules, routing works as expected.
> 
> But when I put them in a separate file included in the finalize section it
> does not work reliably.
> 
> We tried some diagnosis with "echo" and found that the rules get called in
> any case.
> Just that on the GARMIN Device they do not apply when called in the finalize
> section !?!
> 
> There must be some difference in the generated img file that should not be
> there.
> I suspect that the "path" gets written to the img before the set bicycle=no
> is applied.
> 
> 
> 
> 
> --
> View this message in context: http://gis.19327.n5.nabble.com/Finalize-section-not-working-as-expected-tp5800737p5800798.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> 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/20140324/35f44d7b/attachment.html>


More information about the mkgmap-dev mailing list