NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

DaveF
3.3k8498133
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...
https://help.openstreetmap.org/questions/23679/how-to-export-a-route-relation-as-gpx-or-kml

permanent link

answered 12 Jul '21, 06:52

nevw's gravatar image

nevw
9.8k2690178
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
1

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

By RSS:

Answers

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:

×622
×315
×255
×236

question asked: 12 Jul '21, 00:19

question was seen: 1,274 times

last updated: 14 Jul '21, 02:07

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum