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: [email protected] > To: [email protected] > 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 > [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
