
21 Dec
2009
21 Dec
'09
8:54 p.m.
On Mon, Dec 14, 2009 at 11:41:05PM +0200, Marko Mäkelä wrote:
Yet another solution would be to have a special syntax of variable substitution that would bypass the valueTags, say, $(var) instead of ${var}:
(type=boundary | type=multipolygon) & boundary=administrative & name=* { apply { set mkgmap:boundary_name='$(mkgmap:boundary_name)/${name}' | '${name}'; } }
I implemented this (see the attached patch). It was easier than I thought, and the runtime penalty should be low. Unless someone complains, I will commit this patch tomorrow. Marko