
Hi Bernd, sorry, I can't follow. Please post two complete styles, one that is working as expected, another which is not. This will help to find out what is different. Gerd
From: weigelt.bernd@web.de To: mkgmap-dev@lists.mkgmap.org.uk Date: Mon, 24 Mar 2014 10:15:29 +0100 Subject: Re: [mkgmap-dev] Finalize section not working as expected
Am Montag, 24. März 2014, 09:19:44 schrieb Bernd Weigelt:
include 'inc/access';
both tested, same result
? Remember that mkgmap evaluates mkgmap:bicycle=*, not bicycle=*.
But this could be my error, i will try this
Made some tests:
highway=path & ( smoothness~'.*(horrible|impassable)' | smoothness=very_bad | mtb:scale>0 | mtb:scale:imba>0 ) { set mkgmap:bicycle=no } highway=path & ( sac_scale~'.*(mountain|alpine)_hiking' | smoothness=bad ) { add mkgmap:bicycle=no; }
this rules at the end of inc/compat_access didn't work, tested with inc/access before and after inc/compat_access and they didn't work, if i do them at the begin of inc/access.
This is a little bit to high for my little mind
It works, if i do this rules in inc/access, it is clear for me, why this works
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; }
Bernd
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev