OpenWIS / openwis

http://openwis.github.io/openwis
GNU General Public License v3.0
11 stars 15 forks source link

SRU response does not include the resource location #262

Open rogers492 opened 7 years ago

rogers492 commented 7 years ago

@lmika-bom Is this true? @6a6d74 has been challenged by WMO Dave Thomas on this. Though Jeremy thinks the tech specs do not require this, we would like to know if OpenWIS does or does not do this.

6a6d74 commented 6 years ago

New Zealand DCPC provides a SRU search page that allows users to find records in the WIS Catalogue http://www.metservice.com/maps-radar/wis-search/search) ... Dave Thomas identifies this as "the way it should be done".

OpenWIS doesn't appear to include the location of the resource in its SRU response ...

Compare requests between GISC Offenbach and GISC Melbourne SRU servers:

GISC Offenbach:

http://sru.dwd.de/SRU2JDBC/sru?operation=searchRetrieve&version=1.1&query=%22temperature%22%20and%20%22berlin%22&startRecord=1&maximumRecords=10&&stylesheet=xsl/dwd-sru.xsl&x-dwd-stylesheetDetailLevel=2

You can see the URL of the resource provided ...

OnLine resource
  Linkage
    gmd:URL    http://dcpc.worldweather.org

By comparison, GISC Melbourne provides a limited set of metadata elements:

http://wis.bom.gov.au/openwis-user-portal/srv/en/main.home/portal.sru?operation=searchRetrieve&version=1.1&query=%22temperature%22%20and%20%22Berlin%22&startRecord=1&maximumRecords=10&&

Result snippet:

<zs:searchRetrieveResponse xmlns:zs="http://www.loc.gov/zing/srw/">
<zs:version>1.1</zs:version>
<zs:numberOfRecords>31</zs:numberOfRecords>
<zs:resultSetId>4db18b3466023d6f:-758b3df3:15f514a85e7:7432</zs:resultSetId>
<zs:resultSetIdleTime>0</zs:resultSetIdleTime>
<zs:records>
<zs:record>
<zs:recordSchema>iso19139</zs:recordSchema>
<zs:recordPacking>XML</zs:recordPacking>
<zs:recordData>
<MD_Metadata>
<title>Weather forecast for Berlin</title>
<abstract>Weather forecast for the public</abstract>
<keyword>Germany</keyword>
<keyword>Berlin</keyword>
<keyword>maximum air temperature</keyword>
<keyword>minimum air temperature</keyword>
<keyword>weather</keyword>
<keyword>Weather</keyword>
<keyword>Forecast</keyword>
<geonet:info xmlns:geonet="http://www.fao.org/geonetwork">
<id>350476</id>
<uuid>hko.gov.hk.vhhh.481.016.00059</uuid>
<schema>iso19139</schema>
<changeDate>Wed Jul 26 20:25:30 GMT 2017</changeDate>
<source>cb925976-dcd6-4950-88e6-fe78ffd86891</source>
<isHarvested>y</isHarvested>
<dataPolicy>unknown</dataPolicy>
<score>1.1956704</score>
</geonet:info>
</MD_Metadata>
</zs:recordData>
<zs:recordPosition>1</zs:recordPosition>
</zs:record>
[...]
</zs:records>
</zs:searchRetrieveResponse>

So GISC Melbourne doesn't actually tell you where the resource is!!!

(SRU tests done using the WMO SRU training page)

6a6d74 commented 6 years ago

@benjaminsaclier asks whether the SRU response is part of the GeoNetwork code base or OpenWIS Core?