Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRU response does not include the resource location #262

Open
rogers492 opened this issue Jun 16, 2017 · 2 comments
Open

SRU response does not include the resource location #262

rogers492 opened this issue Jun 16, 2017 · 2 comments
Assignees

Comments

@rogers492
Copy link
Contributor

@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
Copy link
Contributor

6a6d74 commented May 28, 2018

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
Copy link
Contributor

6a6d74 commented May 28, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants