pycsw icon indicating copy to clipboard operation
pycsw copied to clipboard

suggestion for implementing wms/wmts/wfs/... links in record.geojson

Open pvgenuchten opened this issue 2 years ago • 2 comments

Overview

populate links in record.geojson for common link types using the suggested templated approach

Related Issue / Discussion

in #814 I raised the question how record.geojson links are modelled from the pycsw datamodel for the typical wms/wfs protocols. This PR presents a suggestion for implementation

Additional Information

A lot of conventions are adopted and discussions are taking place on how one can model a link between a iso19139 metadata record and a specific layer in ows capabilities. In general 2 approaches are common, append on the metadatalink to the service the &layers is parameter to detail the relevant layer, others adopted the &layers={onlineresource.name} convention. This PR supports both cases (but will cause problems if none of the 2 are implemented)

To identify the type of link, the catinterop identifier of the protocol is assumed in link[type], else the link will be treated as a generic link

Contributions and Licensing

(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • [x] I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
  • [x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines

pvgenuchten avatar Nov 14 '22 11:11 pvgenuchten