Why not ask your question on the new OpenStreetMap Community Forum?

Hi I've a circular route relation & want to export it as GPX so that the ways (<trkseg>) are in clockwise order.

I checked in JOSM that the relation's ways are sorted, but JOSM's 'export to GPX' & 'saveas GPX' jumbles up the order for some reason. How can this be be solved in JOSM or using another program.

asked 12 Jul '21, 00:19

DaveF's gravatar image

accept rate: 16%

This might be worth a try...
Open a new layer in Josm, then select the route and ‘merge selected’ into the new layer. Then select all the route segments and ‘edit > combine’ and try exporting the combined route to gpx. Be careful not to upload to osm on exiting.

Also some alternative ideas in this query...

permanent link

answered 12 Jul '21, 06:52

nevw's gravatar image

accept rate: 9%

edited 12 Jul '21, 10:41

The right click menu for the layer should have an option to "discourage upload" (expert mode only) after that is set I don't think JOSM even prompts for upload on close.

(12 Jul '21, 19:16) InsertUser

For anyone else reading this it's Tools>Combine. Unfortunately your suggestion & those in the link combine all ways (<trkseg>) into one big <trkseg>. I wish to maintain them. Overpass's Export does similar.

(14 Jul '21, 02:07) DaveF
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Jul '21, 00:19

question was seen: 1,072 times

last updated: 14 Jul '21, 02:07

powered by OSQA