logo separator

[mkgmap-dev] Commit: r2353: A few tests for WanMil's style functions.

From Steve Ratcliffe steve at parabola.me.uk on Wed Oct 31 21:19:44 GMT 2012

Hi

> If possible it would be better to allow using length() on its own in a
> rule. I think sooner or later some style implementors will try rules like:
> length() < 100 { set specialdistance=short }
> length() > 100 & length() < 1000 { set specialdistance=medium }
> length() > 1000 { set specialdistance=long }

To run a rule against all elements would have to be a special case,
because the way it works is totally driven by the tags on the element.

> Anyhow an error would be a good start!

Yes, it should either work, or tell you it doesn't ;)

..Steve



More information about the mkgmap-dev mailing list