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