Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#22165 closed enhancement (worksforme)

Waypoints loaded from GPX file contain extraneous information

Reported by: SomeoneElse2 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load a GPX file containing a point such as

<wpt lat="54.2223460" lon="-0.9933650">
<ele>28</ele>
<name>SWU071264</name>
<cmt>24-JUN-12E</cmt>
<desc>Flag, Blue 24-JUN-12E</desc>
<sym>Flag, Blue</sym>
</wpt>

  1. Zoom in in that point

What is the expected result?

name=SWU071264, cmt=24-JUN-12E, sym=Flag, Blue, ele=28, desc=Flag, Blue 24-JUN-12E

What happens instead?

name=SWU071264, cmt=24-JUN-12E, sym=Flag, Blue, ele=28, desc=Flag, Blue 24-JUN-12E, formattedWaypointOffset=-1, waypointOffset=-1

The extra two fields don't exist in the GPX file and don't add any value.
How to not display them?

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-05-29 21:53:52 +0200 (Sun, 29 May 2022)
Revision:18463
Build-Date:2022-05-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunkWaypointOffset=-1

Identification: JOSM/1.5 (18463 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 468 MB / 4056 MB (155 MB allocated, but free)
Java version: 18.0.1.1+2-6, Oracle Corporation, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.50×1.50) \Display1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890

Plugins:
+ continuosDownload (99)
+ reverter (35980)
+ undelete (35893)

Last errors/warnings:
- 00034.839 E: Failed to locate image 'Flag, Blue'
- 00034.840 E: Failed to locate image 'Flag, Blue'
- 00034.840 E: Failed to locate image 'Flag, Blue'
- 00034.841 E: Failed to locate image 'Flag, Blue'
- 00034.841 E: Failed to locate image 'Flag, Blue'
- 00034.845 E: Failed to locate image 'Flag, Red'
- 00034.845 E: Failed to locate image 'City (Small)'
- 00034.846 E: Failed to locate image 'City (Small)'
- 00034.847 E: Failed to locate image 'City (Small)'
- 00034.847 E: Failed to locate image 'City (Small)'

Attachments (0)

Change History (5)

comment:1 by taylor.smock, 3 years ago

Resolution: worksforme
Status: newclosed

In the GPX Preference pane, change Waypoint labeling from Everything to anything else (like Auto).

comment:2 by SomeoneElse2, 3 years ago

Thanks, I'd never have found that in a million years.

Search menu items for "GPX" only finds "Export to GPX", searching menu items for GPS only finds something else that adds a "GPS Traces" layer to the layer list (but does not tell you that it is done it). JOSM's help is of course not searchable.

Last edited 3 years ago by SomeoneElse2 (previous) (diff)

comment:3 by taylor.smock, 3 years ago

No problem. It wasn't a menu item, so the menu search didn't find it. And the help is (technically) searchable from the actual website. I would just use a site:josm.openstreetmap.de search on duckduckgo/google/your favorite search engine.

comment:5 by taylor.smock, 3 years ago

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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