#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?
- 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>
- 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 , 3 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 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.
comment:3 by , 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:4 by , 3 years ago
Searching josm.openstreetmap.de doesn't really help - the first three search results of "https://duckduckgo.com/?q=gpx+site%3Ajosm.openstreetmap.de&t=ffsb&ia=web" are:
https://josm.openstreetmap.de/doc/org/openstreetmap/josm/data/gpx/GpxData.html
https://josm.openstreetmap.de/doc/org/openstreetmap/josm/gui/layer/GpxLayer.html
https://josm.openstreetmap.de/doc/org/openstreetmap/josm/data/gpx/GpxTrack.html
all of which are entirely irrelevant to a JOSM user.
comment:5 by , 3 years ago
I probably should have added /wiki/Help
to that.
i.e. https://duckduckgo.com/?q=gpx+site%3Ajosm.openstreetmap.de%2Fwiki%2FHelp&t=hs&va=l&ia=web
In the GPX Preference pane, change
Waypoint labeling
fromEverything
to anything else (likeAuto
).