logo separator

[mkgmap-dev] Failure to understand apply logic in relations - or failure in the logic

From Felix Hartmann extremecarver at gmail.com on Tue Nov 23 13:30:46 GMT 2021

route=hiking { apply { set route=hiking; set route_name = '${route_name} &
${name}' | '${name}'; add route_ref = '${ref}'; } }

I would expect that this rule if several relations are matching one line,
adds all names of route=hiking relations to the route_name variable
separated by "&". However it is only adding the first found.

Where is my mistake?

-- 
Felix Hartman - Openmtbmap.org & VeloMap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20211123/78b6611f/attachment.html>


More information about the mkgmap-dev mailing list