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