<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 Henning,<br><br>where would you want to set the &lt;value&gt; for &lt;key&gt; ?<br><br>Gerd<br><br><div>&gt; Date: Thu, 27 Mar 2014 08:24:51 +0100<br>&gt; From: osm@aighes.de<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: Re: [mkgmap-dev] conditional includes in style<br>&gt; <br>&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; Hash: SHA1<br>&gt; <br>&gt; Hi Gerd,<br>&gt; I quote a mail, which I wrote some month ago to the list:<br>&gt; <br>&gt; &gt; <br>&gt; &gt; while cycling in New Zealand I found out, thats a little bit to<br>&gt; &gt; easy just taking a style (routing and map-look) and use it in parts<br>&gt; &gt; of the world, which are very different to Central Europe. Eg. it's<br>&gt; &gt; not that interesting if the road is a trunk or a unclassified, but<br>&gt; &gt; it's very interesting to show if a road is sealed or unsealed.<br>&gt; &gt; <br>&gt; &gt; If there are only small things, which are country-specific it's<br>&gt; &gt; pretty easy to use just &amp; mkgmap:country=???. But this will makes<br>&gt; &gt; the style quite confusing to understand. So I thought it would be<br>&gt; &gt; nice to have something like:<br>&gt; &gt; <br>&gt; &gt; if ( &lt;key&gt;==&lt;value&gt; ) { &lt;includes or style rules&gt; }<br>&gt; &gt; <br>&gt; &gt; I think such a if-clause would also in general makes style-files a<br>&gt; &gt; little bit more readabel and shouldn't be that complex to implement<br>&gt; &gt; (or am I wrong?).<br>&gt; &gt; <br>&gt; &gt; What do you think about such a if-clause? Maybe there is a better<br>&gt; &gt; way for it.<br>&gt; <br>&gt; Henning<br>&gt; -----BEGIN PGP SIGNATURE-----<br>&gt; Version: GnuPG v2.0.20 (MingW32)<br>&gt; <br>&gt; iQEcBAEBAgAGBQJTM9JDAAoJEPFgsWC7jOeTtzgIAIemvaXqXmSiR4G5p3DqaeCB<br>&gt; Z/xjbDHOp81KebkDmh36f3s+zpewPPhNusOb1H4qTT27xevXGvBeDMkbYLCpnkoO<br>&gt; Kdt+Ej9V5Bosmc6Yey0vs2uClAIC+2OUTXoulh2ZWy/3W4aYAJdtbIQH5IGPgUhY<br>&gt; Lh4N77bvIxfQck7fEDbCtxbjuLd56Z0zASO65kAGwo9OPjyWBHYbkZBMS/IBpdyp<br>&gt; pTTD89Gqf4MXgi6v1bHw/n/ePVD8l/4oV/p86mAtyUVaQk332YQr9Qoryq4PuDlY<br>&gt; XGPvPiuGk8waqsl2ZtZyEh7m7y2Zb8njBuHC2gKguqEzNjnsgjbIy4Heg26yI6E=<br>&gt; =O67V<br>&gt; -----END PGP SIGNATURE-----<br>&gt; <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>