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

Incorrect protocol for WMS gmd:MD_DigitalTransferOptions in GetMetadata response #5669

Closed
nmtoken opened this Issue Sep 27, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@nmtoken
Copy link

nmtoken commented Sep 27, 2018

The gmd:protocol for a WMS GetMap response is incorrect. WMS is not a download service, but we have for example:

<gmd:onLine>
  <gmd:CI_OnlineResource>
    <gmd:linkage>
  <gmd:URL>http://ogc2.bgs.ac.uk/cgi-bin/UGA_ARGI/ows?service=WMS&amp;version=1.3.0&amp;request=GetMap&amp;width=500&amp;height=300&amp;styles=&amp;layers=ENERGY_TYPE_2016&amp;format=image/jpeg&amp;crs=EPSG:4326&amp;bbox=-1.318610,29.620170,3.697400,34.882710</gmd:URL>
    </gmd:linkage>
    <gmd:protocol>
  <gco:CharacterString>WWW:DOWNLOAD-1.0-http--download</gco:CharacterString>
    </gmd:protocol>
    <gmd:name>
  <gco:CharacterString>ENERGY_TYPE_2016</gco:CharacterString>
    </gmd:name>
    <gmd:description>
  <gco:CharacterString>JPEG Format</gco:CharacterString>
    </gmd:description>
  </gmd:CI_OnlineResource>
</gmd:onLine>

AFAIKT these protocol strings come from GeoNetwork and an appropriate replacement term here would be OGC:WMS-1.3.0-http-get-map

Note that for INSPIRE ISO19139 metadata (Version 2.0.1 ~ 2017-03-02) the recommendation is to have gmd:linkage, gmd:name, gmd:description, and gmd:function (and not gmd:protocol). Where The gmd:function for a WMS service is information like:

<gmd:function>
     <gmd:CI_OnLineFunctionCode codeList="http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/codelist/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="information"/>
</gmd:function>

@tomkralidis tomkralidis self-assigned this Oct 19, 2018

tomkralidis added a commit that referenced this issue Oct 24, 2018

@tomkralidis

This comment has been minimized.

Copy link
Member

tomkralidis commented Oct 24, 2018

Fixed in branch-7-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.