
Am Mittwoch, 7. Januar 2015, 18:29:02 schrieb Bernd Weigelt:
Am Mittwoch, 7. Januar 2015, 18:11:29 schrieb Bernd Weigelt:
And where is my error?
Found one of my errors, because the node belongs to four route relations.
http://www.openstreetmap.org/node/31172863
ok, thats the reason for the double entries, but how can i filter them?
Bernd
With the new filter, it works as expected, there is now only one entry, no double entries in the list now for the node above 'Unkel (Rb27,re8) thank you, Maxim # Public transportation routes. # We could want to sort the matching relations by ref first. type=route & (route=bus| route=trolleybus| route=ferry| route=subway| route=train| route=tram) & (ref=* | name=*) { add ref='${name}'; apply { #set route_ref='$(route_ref),${ref}' | '${ref}'; set route_ref='$(route_ref),${ref|not-contained:,:route_ref}' | '$(route_ref)' | '${ref}'; set mkgmap:relref='${ref}'; apply role=passengers { set route_ref='$(route_ref),${mkgmap:relref}' | '${mkgmap:relref}'; } delete mkgmap:relref; } } -- amarok2 now playing: