logo separator

[mkgmap-dev] conditional includes in style

From Henning Scholland osm at aighes.de on Thu Mar 27 07:24:51 GMT 2014

-----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-----



More information about the mkgmap-dev mailing list