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 20:50:14 GMT 2012

On 31/10/12 15:55, WanMil wrote:
>>
>> Version 2353 was commited by steve on 2012-10-31 14:15:43 +0000 (Wed, 31 Oct 2012)
>>
>> A few tests for WanMil's style functions.
>
> Thanks for adding these tests.
>
> Do you think a "negative" test would also be good?

Thanks, I can add that.

I've been looking into making functions a kind of ValueOp so
they can be compiled rather than looked up at run time, as I
think you mentioned before.

I can then convert normal tag match highway=primary to
get_tag(highway)=primary behind the scenes, so that everything
looks consistent. This also makes it possible to detect and
give an error if you use length() by itself, without any tag
matches.

..Steve



More information about the mkgmap-dev mailing list