<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Franco,<br><br>when you put these lines in the finalize section,<br>is that before or after the line<br>include 'inc/access';<br>?<br>Remember that mkgmap evaluates mkgmap:bicycle=*, not bicycle=*.<br><br>Gerd<br><br><div>&gt; Date: Sun, 23 Mar 2014 22:47:05 -0700<br>&gt; From: franco.bez@web.de<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: Re: [mkgmap-dev] Finalize section not working as expected<br>&gt; <br>&gt; the rules in question are:<br>&gt; /<br>&gt; highway=path<br>&gt;            &amp; (<br>&gt;               smoothness~'.*(horrible|impassable)' |<br>&gt;               smoothness=very_bad |<br>&gt;               mtb:scale&gt;0 | <br>&gt;               mtb:scale:imba&gt;0<br>&gt;               )<br>&gt;                 { set bicycle=no }<br>&gt; highway=path<br>&gt;             &amp; (<br>&gt;                sac_scale~'.*(mountain|alpine)_hiking' |<br>&gt;                smoothness=bad<br>&gt;                )<br>&gt;                 { add bicycle=no; }<br>&gt; /<br>&gt; <br>&gt; When I put then directly in the lines file, before the path definition<br>&gt; rules, routing works as expected.<br>&gt; <br>&gt; But when I put them in a separate file included in the finalize section it<br>&gt; does not work reliably.<br>&gt; <br>&gt; We tried some diagnosis with "echo" and found that the rules get called in<br>&gt; any case.<br>&gt; Just that on the GARMIN Device they do not apply when called in the finalize<br>&gt; section !?!<br>&gt; <br>&gt; There must be some difference in the generated img file that should not be<br>&gt; there.<br>&gt; I suspect that the "path" gets written to the img before the set bicycle=no<br>&gt; is applied.<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; --<br>&gt; View this message in context: http://gis.19327.n5.nabble.com/Finalize-section-not-working-as-expected-tp5800737p5800798.html<br>&gt; Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>