geopython / MetaSearch

*** We have moved! MetaSearch is now a core QGIS plugin! (2014-11-30). See QGIS repository
https://hub.qgis.org/wiki/quantum-gis/MetaSearch
Other
4 stars 12 forks source link

Siciliy csw don't work #54

Closed elyparker closed 10 years ago

elyparker commented 10 years ago

i added this http://www.sitr.regione.sicilia.it/geoportale/csw and it get capabilies and give record but it does'nt permit to add to wms/ wmf layer button is gray schermata 2014-05-15 alle 16 14 44

tomkralidis commented 10 years ago

FYI the @scheme values need to be in the following list: https://github.com/geopython/MetaSearch/blob/master/plugin/MetaSearch/link_types.py. Basically MetaSearch looks for dct:references/@scheme as the WMS/WFS/WCS value and then takes the content to pass to the given provider.

elyparker commented 10 years ago

this is a part of xml response for one of the list it seems scheme OGC:WMS-1.3.0-http-get-capabilities

but it not add it is a problem of the sicily's server?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcmiBox="http://dublincore.org/documents/2000/07/11/dcmi-box/" xmlns:dct="http://purl.org/dc/terms/" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<csw:SearchStatus timestamp="2014-05-15T22:48:27+02:00"/>
<csw:SearchResults elementSet="full" nextRecord="0" numberOfRecordsMatched="15" numberOfRecordsReturned="15" recordSchema="http://www.opengis.net/cat/csw/2.0.2">
<csw:Record>
<dc:identifier scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:FileID">r_sicili:f65a64d6-da1a-4357-be23-ad1076393b75</dc:identifier>
<dc:identifier scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:DocID">{ECA65F30-8B77-4E92-8714-26DE02079E40}</dc:identifier>
<dc:title>Ortofoto ATA 2007-2008 - GAUSS-BOAGA</dc:title>
<dc:type scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:ContentType">liveData</dc:type>
<dc:type scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:ContentType">OGC:WMS-1.3.0-http-get-capabilities</dc:type>
tomkralidis commented 10 years ago

The CSW server would need to respond with something like:

<csw:Record>
...
<dct:references="OGC:WMS">http://host/wms</dct:references>
...
</csw:Record>
elyparker commented 10 years ago

mmm so for to solve?

tomkralidis commented 10 years ago

The provider has to update their metadata.