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

Purpose of field “Format” for links #116

Open
effjot opened this issue Apr 28, 2022 · 2 comments
Open

Purpose of field “Format” for links #116

effjot opened this issue Apr 28, 2022 · 2 comments

Comments

@effjot
Copy link
Contributor

effjot commented Apr 28, 2022

What is the intended use of the “Format” field for links? File formats should already be covered by the quite extensive MIME Types list.
Thanks for the clarification!

@Gustry
Copy link
Member

Gustry commented Apr 29, 2022

IIRC, we used what was done in QGIS, if you open your metadata tab, then "Links" tab. It's defined in the internal QGIS XSD for storing metadata.

We still want to integrate as much as possible with the QGIS Metadata native panel #24

@effjot
Copy link
Contributor Author

effjot commented May 1, 2022

Thanks!

For further reference, the QGIS link fields are described in qgis-base-metadata.xsd, starting at line 188:

  • name: short name (like WMS layer name)
  • type: link type. Strongly suggested to use values from the 'identifier' column in https://github.com/OSGeo/Cat-Interop/blob/master/LinkPropertyLookupTable.csv
  • description: abstract text about link
  • url: endpoint. If the URL is an OWS server, specify the base URL only without parameters like service=xxx.....
  • format: format specification of online resource. Strongly suggested to use GDAL/OGR format values
  • mimeType: MIME type representative of the online resource response (image/png, application/json, etc.)
  • size: estimated size (in bytes) of the online resource response

I’m not quite sure what the “GDAL/OGR format values” are. In many examples I’ve found in code and on the Web, Format stayed empty. I have seen one example where it was “ESRI Shapefile”, so my best guess is the GDAL format “Long name”.

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

No branches or pull requests

2 participants