Modify

Opened 8 days ago

Last modified 8 days ago

#15628 new enhancement

Support HTML code in GPX descriptions

Reported by: FrankOverman Owned by: team
Priority: normal Milestone: 17.12
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 8 days ago.
GPX file with track recorded in Locus Pro (Android) including some named points
15628.png (27.4 KB) - added by Don-vip 8 days ago.

Download all attachments as: .zip

Change History (6)

Changed 8 days ago by FrankOverman

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

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

comment:1 Changed 8 days ago by FrankOverman

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

comment:2 Changed 8 days ago by Don-vip

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

Changed 8 days ago by Don-vip

Attachment: 15628.png added

comment:3 Changed 8 days ago by Don-vip

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

comment:4 Changed 8 days ago by Don-vip

Milestone: 17.12

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to FrankOverman
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.