JOSM script/action for combining loaded highways

This is an extension to this thread in search for a way to (semi automatically) combine highway pairs. Meanwhile I have been able to select not just pairs but complete sets of highways that can be combined.

Just to make things clear I will use 3 sets of highways for this example. One set with 2, one with 3 and one with 4 highways.

If I load these 3 sets (with 9 ways in total) in JOSM from this Overpass query I want to combine all ways in each set so that I am left with 3 sets each containing 1 way.

Is there a way to script this type of action? I have looked into the scripting plugin but I find this hard to understand.

2 posts - 2 participants

Read full topic

Ce sujet de discussion accompagne la publication sur