Re: [mkgmap-dev] [PATCH] Add a substring filter to the style language.

2010-09-28 Thread Steve Ratcliffe
Hi On 21/04/10 14:12 (yes that long ago...), Jeffrey Ollie wrote: > Has anyone had a chance to try this out? It would be nice to get this > committed if there aren't any issues with it... Thanks for the patch which is now applied. Better late than never, I always say... Cheers, ..Steve > On

Re: [mkgmap-dev] [PATCH] Add a substring filter to the style language.

2010-04-21 Thread Jeffrey Ollie
Has anyone had a chance to try this out? It would be nice to get this committed if there aren't any issues with it... On Mon, Mar 15, 2010 at 11:51 AM, Jeffrey C. Ollie wrote: > This can be used to extract substrings from values.  If the "name" tag on an > object was > equal to "abcdef": > > '$

[mkgmap-dev] [PATCH] Add a substring filter to the style language.

2010-03-15 Thread Jeffrey C. Ollie
This can be used to extract substrings from values. If the "name" tag on an object was equal to "abcdef": '${name|substring:2}' => 'cdef' '${name|substring:2:4}' => 'cd' As an example, it can be used to clean up the "ref" element on route relations: type=route & route=road & network=US:I & ref