[mkgmap-dev] conditional includes in style
From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Mar 27 07:43:15 GMT 2014
Hi Henning, where would you want to set the <value> for <key> ? Gerd > Date: Thu, 27 Mar 2014 08:24:51 +0100 > From: osm at aighes.de > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] conditional includes in style > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Gerd, > I quote a mail, which I wrote some month ago to the list: > > > > > while cycling in New Zealand I found out, thats a little bit to > > easy just taking a style (routing and map-look) and use it in parts > > of the world, which are very different to Central Europe. Eg. it's > > not that interesting if the road is a trunk or a unclassified, but > > it's very interesting to show if a road is sealed or unsealed. > > > > If there are only small things, which are country-specific it's > > pretty easy to use just & mkgmap:country=???. But this will makes > > the style quite confusing to understand. So I thought it would be > > nice to have something like: > > > > if ( <key>==<value> ) { <includes or style rules> } > > > > I think such a if-clause would also in general makes style-files a > > little bit more readabel and shouldn't be that complex to implement > > (or am I wrong?). > > > > What do you think about such a if-clause? Maybe there is a better > > way for it. > > Henning > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.20 (MingW32) > > iQEcBAEBAgAGBQJTM9JDAAoJEPFgsWC7jOeTtzgIAIemvaXqXmSiR4G5p3DqaeCB > Z/xjbDHOp81KebkDmh36f3s+zpewPPhNusOb1H4qTT27xevXGvBeDMkbYLCpnkoO > Kdt+Ej9V5Bosmc6Yey0vs2uClAIC+2OUTXoulh2ZWy/3W4aYAJdtbIQH5IGPgUhY > Lh4N77bvIxfQck7fEDbCtxbjuLd56Z0zASO65kAGwo9OPjyWBHYbkZBMS/IBpdyp > pTTD89Gqf4MXgi6v1bHw/n/ePVD8l/4oV/p86mAtyUVaQk332YQr9Qoryq4PuDlY > XGPvPiuGk8waqsl2ZtZyEh7m7y2Zb8njBuHC2gKguqEzNjnsgjbIy4Heg26yI6E= > =O67V > -----END PGP SIGNATURE----- > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140327/fe2ce9a7/attachment.html>
- Previous message: [mkgmap-dev] conditional includes in style
- Next message: [mkgmap-dev] conditional includes in style
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list