On Thu, Jan 17, --enrico wrote:

> In the “relations” file I have this code:
> 
> type=route & route=* { 
>     apply { 
>         set route='${route}';
>         set route_name='${name}';
>         set route_ref='${ref}'
>     }
> }
> 
> to extract name and ref of the route relation.
> The problem is: when it found more than one route relation on the same 
> highway. This code extract only the route relation with the highest id...
> How can I change this code to extract ALL the route relation into one 
> route_name? Is it possible?

Use
set route_ref='$(route_ref),${ref}' | '${ref}';

instead and so on ...

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to