Project

General

Profile

Actions

Task #1030

closed

WMS URL is not managed by GeoExplorer

Added by Gianpaolo Coro over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
Data Management
Start date:
Oct 14, 2015
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development

Description

The following URL has been provided by an EGIP partner, but when added to our GeoNetwork it is transformed by GisViewer into a broken URL:

http://biotit.geo-zs.si/gis/services/EGIP/EGIP_geothermal_map/MapServer/WMSServer?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Temperature%20line%20Lines%20at%202000m%20depth&SRS=EPSG%3A4326&BBOX=13.275317,45.321849,16.710686,46.976674&WIDTH=800&HEIGHT=400&FORMAT=image/png&STYLES=

Please assess what is wrong with this link and if partners can modify it to solve the issue.

A layer named "Geothermal map - Temperature lines at 2000 m depth" is available in the dev. environment for testing.

Actions #1

Updated by Francesco Mangiacrapa over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

The problem is generated by layer name that is encoded in the URL.

In this particular case:
LAYERS=Temperature%20line%20Lines%20at%202000m%20depth

When the layer is added in the Gis-Viewer it is encoded another time (Temperature%2520line%2520Lines%2520at%25202000m%2520depth) so it fails

To fix the issue I suggest two possible solutions:
-1 edit the metadata adding the tag gm:name (with layer name not encoded: Temperature line Lines at 2000m depth) as following:

<gmd:CI_OnlineResource><gmd:linkage>
<gmd:URL>
http://biotit.geo-zs.si/gis/services/EGIP/EGIP_geothermal_map/MapServer/WMSServer?SERVICE=WMS&VERSION=1.1.1&
REQUEST=GetMap&LAYERS=Temperature%20line%20Lines%20at%202000m%20depth&SRS=EPSG%3A4326&BBOX=13.275317,45.321849,16.710686,46.976674&WIDTH=800&HEIGHT=400&FORMAT=image/png &STYLES=
</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>OGC:WMS-1.1.1-http-get-map</gco:CharacterString>
</gmd:protocol>
<gmd:name><gco:CharacterString>Temperature line Lines at 2000m depth</gco:CharacterString></gmd:name>
</gmd:CI_OnlineResource>

-2 store the layer into geoserver with a name without space (eg. Temperature_line_Lines_at_2000m_depth) and update the releative metadata in geonetwork

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)