Would be useful to save relation as gpx
|Reported by:||aw||Owned by:||team|
|Version:||Keywords:||gpx, save, relation|
Description (last modified by simon04)
I don't know whether this would be best served by a plugin or from the relation manager. What I'd like to do is save a relation as a gpx file, with the nodes in the same order in which they appear in the relation, and track segments for each contiguous bit of the relation.
At the moment I can load a single relation and save it as gpx, but because JOSM doesn't know that I'm particularly interested in this relation, the ways are exported in a rather arbitrary order, and the nodes are duplicated for the end of one way and the start of the next. Cleaning it up into one single track along the relation is then rather difficult.
The relation manager knows the order of the ways and which ones are connected, so the information is available - would a save be possible from there?
Alternatively, is there another way to achieve this result given an osm file and a relation id?