Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#16248 closed defect (fixed)

Unable to parse WMS layers list [patch]

Reported by: sarxos Owned by: team
Priority: normal Milestone: 18.04
Component: Core imagery Version:
Keywords: template_report wms xml namespace Cc:

Description

Whole problem with screenshots is described and fixed in a pull request I did against your Github mirror.

https://github.com/openstreetmap/josm/pull/25

Thank you!

What steps will reproduce the problem?

  1. Go to Imagery -> Imagery preferences.
  2. Click "+WMS" button.
  3. Use service URL http://wms.hgis.cartomatic.pl/topo/3857/m25k?service=WMS&request=GetCapabilities
  4. Click Get Layers
  5. Observe error.

What is the expected result?

Layers are imported from WMS service.

What happens instead?

Error stating that "Could not parse WMS layers list."

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-26 22:16:39 +0200 (Mon, 26 Mar 2018)
Build-Date:2018-03-26 20:45:23
Revision:13576
Redirecting:to URL 'https://josm.openstreetmap.de/svn/trunk':
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13576 en) Linux Ubuntu 14.04.5 LTS
Memory Usage: 1069 MB / 3499 MB (814 MB allocated, but free)
Java version: 1.8.0_171-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080, :0.1 1360x768, :0.2 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Djava.security.policy=file:${JAVA_HOME}/jre/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=${JAVA_HOME}/jre/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/.java/deployment/cache/6.0/56/1ee8cfb8-11d00449, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=37796, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=${JAVA_HOME}/jre/bin/java]
Dataset consistency test: No problems found

Plugins:
+ PicLayer (34170)
+ buildings_tools (34109)
+ ejml (34126)
+ geotools (34125)
+ jts (34038)
+ log4j (34038)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: java.net.MalformedURLException: unknown protocol: wms
- E: Could not parse WMS layer list. Incoming data:
- W: Unable to find supported projection for layer wms.hgis.cartomatic.pl: WIG Mapa Szczegółowa 1:25k. Using EPSG:3857.
- W: Unable to find supported projection for layer wms.hgis.cartomatic.pl: WIG Mapa Szczegółowa 1:25k. Using EPSG:3857.

Attachments (0)

Change History (4)

comment:1 by Klumbumbus, 6 years ago

Component: CoreCore imagery
Summary: Unable to parse WMS layers listUnable to parse WMS layers list [patch]

comment:2 by Don-vip, 6 years ago

Keywords: wms xml namespace added
Milestone: 18.04

comment:3 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 13699/josm:

fix #16248 - fix parsing of XML namespace in WMS capabilities (patch by Bartosz Firyn, modified)

comment:4 by Don-vip, 6 years ago

Thanks a lot for the patch!

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.