Modify

Opened 21 months ago

#22678 new defect

Wrong track names when exporting multiple route relations to gpx

Reported by: ggrab Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: gpx export Cc:

Description

What steps will reproduce the problem?

  1. Download two route relations with the same starting point, e.g., "377893,1291880" (hiking routes)
  2. Select both relations in the relations dialogue and right-click "Export GPX file starting from first member"

What is the expected result?

The tracks (<trk>) in the generated gpx file have the same name as the route relations, i.e. "Wanderweg 5" and "Wanderweg 6" in the example above.

What happens instead?

The tracks (<trk>) in the generated gpx file have the names "Wanderweg 6 #1" and "Wanderweg 6 #2".

Please provide any additional information below. Attach a screenshot if possible.

If the routes do not have the same starting point, this does not happen, and the names of the tracks (<trk>) are as expected.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-01-03 21:28:24 +0100 (Tue, 03 Jan 2023)
Revision:18622
Build-Date:2023-01-04 02:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18622 en) Linux Ubuntu 22.10
Memory Usage: 365 MB / 1958 MB (70 MB allocated, but free)
Java version: 11.0.17+8-post-Ubuntu-1ubuntu2, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1600×900 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
Java package: openjdk-11-jre:amd64-11.0.17+8-1ubuntu2
WebStart package: icedtea-netx:all-1.8.8-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-2
fonts-noto: fonts-noto:-
VM arguments: [-Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/share/icedtea-web/bin/javaws.sh, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy, -Dawt.useSystemAAFontSettings=on, -Dswing.aatext=true]
Dataset consistency test: No problems found

Plugins:
+ ElevationProfile (35978)
+ Mapillary (2.1.1)
+ apache-commons (36034)
+ apache-http (35924)
+ ejml (35924)
+ geotools (36028)
+ jackson (36034)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ measurement (35978)
+ opendata (36025)
+ pbf (36034)
+ photo_geotagging (35933)
+ photoadjust (36011)
+ utilsplugin2 (36011)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&zip=1

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to ggrab.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.