Modify

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#15628 closed enhancement (fixed)

Support HTML code in GPX descriptions

Reported by: FrankOverman Owned by: team
Priority: normal Milestone: 20.01
Component: Core Version:
Keywords: template_report html gpx locus Cc:

Description

What steps will reproduce the problem?

  1. Prep a track record in Locus Pro (Android) and include some named points in the track
  2. Export the track in Locus Pro to a GPX file
  3. Load the GPX file in JOSM (13170)

What is the expected result?

Track and Points on screen

What happens instead?

JOSM shows on screen XML flat text

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

Public GPX file, trace, here: http://www.openstreetmap.org/user/FrankOverman/traces/2551622

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-11-26 14:31:59 +0100 (Sun, 26 Nov 2017)
Revision:13170
Build-Date:2017-11-26 13:34:54
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13170 nl) Windows 7 64-Bit
OS Build number: Windows 7 Ultimate (7601)
Memory Usage: 349 MB / 2034 MB (193 MB allocated, but free)
Java version: 9.0.1+11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [--add-modules=ALL-DEFAULT,javafx.deploy, -Djava.security.manager, -Djava.security.policy=file:<java.home>\conf\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>, -Djnlpx.origFilenameArg=%UserProfile%\AppData\Local\Temp\josm-26.jnlp, -Djnlpx.remove=false, --add-modules=java.activation,java.se.ee, --add-exports=java.base/sun.security.util=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.jvm=<java.home>\bin\javaw.exe, --illegal-access=deny, --add-modules=ALL-DEFAULT, --add-exports=java.base/com.sun.net.ssl.internal.ssl=jdk.deploy, --add-exports=java.base/jdk.internal.misc=jdk.deploy, --add-exports=java.base/jdk.internal.util.jar=jdk.deploy, --add-exports=java.base/sun.net.www=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.file=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.http=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.http.ntlm=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.https=jdk.deploy, --add-exports=java.base/sun.net.www.protocol.jar=jdk.deploy, --add-exports=java.base/sun.nio=jdk.deploy, --add-exports=java.base/sun.reflect.misc=jdk.deploy, --add-exports=java.base/sun.security.action=jdk.deploy, --add-exports=java.base/sun.security.pkcs=jdk.deploy, --add-exports=java.base/sun.security.provider=jdk.deploy, --add-exports=java.base/sun.security.provider.certpath=jdk.deploy, --add-exports=java.base/sun.security.rsa=jdk.deploy, --add-exports=java.base/sun.security.ssl=jdk.deploy, --add-exports=java.base/sun.security.timestamp=jdk.deploy, --add-exports=java.base/sun.security.util=jdk.deploy, --add-exports=java.base/sun.security.validator=jdk.deploy, --add-exports=java.base/sun.security.x509=jdk.deploy, --add-exports=java.base/sun.usagetracker=jdk.deploy, --add-exports=java.desktop/sun.awt=jdk.deploy, --add-exports=java.naming/com.sun.jndi.toolkit.url=jdk.deploy, --add-exports=java.base/jdk.internal.misc=jdk.javaws, --add-exports=java.desktop/com.sun.media.sound=jdk.javaws, --add-exports=java.desktop/sun.awt=jdk.javaws, --add-exports=java.desktop/sun.awt.image=jdk.javaws, --add-exports=java.base/jdk.internal.misc=jdk.plugin, --add-exports=java.base/sun.net=jdk.plugin, --add-exports=java.base/sun.net.www=jdk.plugin, --add-exports=java.base/sun.net.www.protocol.jar=jdk.plugin, --add-exports=java.base/sun.security.action=jdk.plugin, --add-exports=java.base/sun.security.util=jdk.plugin, --add-exports=java.desktop/com.sun.media.sound=jdk.plugin, --add-exports=java.desktop/java.awt.peer=jdk.plugin, --add-exports=java.desktop/sun.applet=jdk.plugin, --add-exports=java.desktop/sun.applet.resources=jdk.plugin, --add-exports=java.desktop/sun.awt=jdk.plugin, --add-exports=java.desktop/sun.awt.windows=jdk.plugin, --add-exports=java.desktop/sun.swing=jdk.plugin, --add-exports=jdk.jsobject/jdk.internal.netscape.javascript.spi=jdk.plugin, --add-exports=java.desktop/sun.awt.image=jdk.plugin, -Djdk.module.main=jdk.plugin]
Dataset consistency test: No problems found

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.net.SocketException: Network is unreachable: connect
- E: java.net.SocketException: Network is unreachable: connect
- W: org.openstreetmap.josm.io.OsmTransferException: Kon geen verbinding maken met de server van OSM. Controleer uw verbinding met internet.. Oorzaak: java.net.SocketException: Network is unreachable: connect
- E: Lokaliseren van afbeelding 'z-ico01' mislukt
- E: Lokaliseren van afbeelding 'z-ico01' mislukt
- E: Lokaliseren van afbeelding 'z-ico01' mislukt
- E: Lokaliseren van afbeelding 'battleship-3' mislukt

Attachments (2)

2017-12-03_15-50-47.gpx (69.7 KB ) - added by FrankOverman 7 years ago.
GPX file with track recorded in Locus Pro (Android) including some named points
15628.png (27.4 KB ) - added by Don-vip 7 years ago.

Download all attachments as: .zip

Change History (12)

by FrankOverman, 7 years ago

Attachment: 2017-12-03_15-50-47.gpx added

GPX file with track recorded in Locus Pro (Android) including some named points

comment:1 by FrankOverman, 7 years ago

Options used in Locus Pro for exporting recorded track to a GPX file: GPX version v1.1 (instead of v1.0).

comment:2 by Don-vip, 7 years ago

Keywords: html gpx locus added
Summary: Importing GPX file generated by Locus Pro (Android) gives text output on screenSupport HTML code in GPX descriptions
Type: defectenhancement

by Don-vip, 7 years ago

Attachment: 15628.png added

comment:3 by Don-vip, 7 years ago

HTML looks nice in layer information, but it must be avoided for markers:

comment:4 by Don-vip, 7 years ago

Milestone: 17.12

comment:5 by Don-vip, 7 years ago

Milestone: 17.1218.01

comment:6 by Don-vip, 7 years ago

Milestone: 18.0118.02

comment:7 by Don-vip, 6 years ago

Milestone: 18.02

comment:8 by Don-vip, 6 years ago

#9103 is similar for KML/KMZ files.

comment:9 by simon04, 5 years ago

Resolution: fixed
Status: newclosed

In 15760/josm:

fix #15628 - Strip HTML code from GPX descriptions

comment:10 by simon04, 5 years ago

Milestone: 20.01

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.