Opened 6 years ago

Closed 6 years ago

#15798 closed enhancement (fixed)

download gpx from HOT Tasking Manager 3 not possible

Reported by: Athalis Owned by: team
Priority: normal Milestone: 18.03
Component: Core Version:
Keywords: template_report hot tasking manager Cc:


What steps will reproduce the problem?

  1. File -> Open Location... / CTRL + L
  2. enter URL copied from a task in HOT TM3:
  3. Download URL

What is the expected result?

The gpx should be loaded.

What happens instead?

An error message "Cannot open URL ''" is shown, along the valid URL patterns.

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

The download from an older TM version works. For example OSM-US still uses the Tasking Manager 2, and I can open this URL via the steps described under "What steps will reproduce the problem?":

I believe the URL from the Tasking Manager in version 2 matches the line EXTERNAL_GPX_FILE ("https?://.*/(.*\\.gpx)"); in

As the URL layout has changed in version 3 it no longer matches. Therefore either the pattern needs to be updated here or the API of the HOT TM needs to be reverted to the old scheme.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1703 (15063)
Memory Usage: 247 MB / 247 MB (54 MB allocated, but free)
Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [,<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-16a94364, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=49475, -Djnlp.application.href=, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

+ Mapillary (v1.5.9)
+ OpenStreetCam (114)
+ OpeningHoursEditor (33876)
+ apache-commons (33668)
+ apache-http (32699)
+ buildings_tools (33735)
+ continuosDownload (68)
+ fieldpapers (v0.4.3)
+ geojson (73)
+ markseen (7)
+ reverter (33865)
+ terracer (33839)
+ todo (30303)
+ undelete (33980)
+ utilsplugin2 (33991)

Last errors/warnings:
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- E: Download Location - <html><p>Cannot open URL ''<br>The following download tasks accept the URL patterns shown:<br><table><tr><td>Download OSM:</td><td><ul><li>https?://.*/api/0.6/(map|nodes?|ways?|relations?|\*).*</li><li>https?://.*/interpreter\?data=.*</li><li>https?://.*/xapi(\?.*\[@meta\]|_meta\?).*</li><li>https?://.*/.*\.osm</li></ul></td></tr><tr><td>Download GPS:</td><td><ul><li>https?://.*(osm|openstreetmap).org/trace/\p{Digit}+/data</li><li>https?://.*(osm|openstreetmap).org/user/[^/]+/traces/(\p{Digit}+)</li><li>https?://.*(osm|openstreetmap).org/edit/?\?gpx=(\p{Digit}+)(#.*)?</li><li>https?://.*/api/0.6/trackpoints\?bbox=.*,.*,.*,.*</li><li>https?://.*exportgpx.*</li><li>https?://.*/(.*\.gpx)</li></ul></td></tr><tr><td>Download OSM Notes:</td><td><ul><li>https?://.*/api/0.6/notes.*</li><li>https?://.*/(.*\.osn(.bz2)?)</li></ul></td></tr><tr><td>Download OSM Change:</td><td><ul><li>https?://.*/api/0.6/changeset/\p{Digit}+/download</li><li>https?://www\.(osm|openstreetmap)\.org/changeset/(\p{Digit}+).*</li><li>https?://.*/.*\.osc</li></ul></td></tr><tr><td>Download OSM URL:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/\?lat=.*&amp;lon=.*</li><li>https?://www\.(osm|openstreetmap)\.org/(.*)?#map=\p{Digit}+/.*/.*</li><li>geo:(?&lt;lat&gt;[+-]?[0-9.]+),(?&lt;lon&gt;[+-]?[0-9.]+)(\?z=(?&lt;zoom&gt;[0-9]+))?</li></ul></td></tr><tr><td>Download OSM object by ID:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/(node|way|relation)/(\p{Digit}+).*</li></ul></td></tr><tr><td>Download Compressed OSM:</td><td><ul><li>https?://.*/.*\.osm.(gz|bz2?|zip)</li></ul></td></tr><tr><td>Download Compressed OSM Change:</td><td><ul><li>https?://.*/.*\.osc.(gz|bz2?)</li></ul></td></tr><tr><td>Download session:</td><td><ul><li>https?://.*/.*\.jo(s|z)</li></ul></td></tr><tr><td>Download OSM Notes within Bounds:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/(.*)?#map=\p{Digit}+/.*/.*&amp;layers=[A-MO-Z]*N[A-MO-Z]*</li></ul></td></tr><tr><td>Download OSM Note by ID:</td><td><ul><li>https?://www\.(osm|openstreetmap)\.org/note/(\p{Digit}+).*</li></ul></td></tr></table></p></html>

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Don-vip

Keywords: hot tasking manager added
Priority: minornormal
Type: defectenhancement

comment:2 Changed 6 years ago by Don-vip

Milestone: 18.03

comment:3 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 13572/josm:

fix #15798 - support direct download of GPX files from HOT Tasking Manager

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.