logo separator

[mkgmap-dev] Relations

From --enrico e.rossini73 at alice.it on Thu Jan 17 22:34:07 GMT 2013

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?
Thanks very much.
--enrico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130117/caac4b42/attachment.html 


More information about the mkgmap-dev mailing list