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

Add support for QGIS metadata storage format qmd #150

Open
mdouchin opened this issue Oct 2, 2021 · 4 comments
Open

Add support for QGIS metadata storage format qmd #150

mdouchin opened this issue Oct 2, 2021 · 4 comments

Comments

@mdouchin
Copy link

mdouchin commented Oct 2, 2021

I would like to contribute in pygeometa by adding the support of the QGIS metadata *.qmd storage file, which is XMLbased

I have seen there are multiple ways to do so

  • Use a pure python approach like for DCAT (if I am correct)
  • use a Jinja template file such as the ISO formats
  • Use a yml file ?

What do you think is the best approach here ? I would say Jinja

@tomkralidis
Copy link
Member

I would like to contribute in pygeometa by adding the support of the QGIS metadata *.qmd storage file, which is XMLbased

What is the workflow then? Creating a QGIS resource QMD from an MCF?

I have seen there are multiple ways to do so

* Use a pure python approach like for DCAT (if I am correct)

* use a Jinja template file such as the ISO formats

* Use a yml file ?

What do you think is the best approach here ? I would say Jinja

Agree. While you could use any approach given the design of the pygeometa base output schema plugins, Jinja2 is probably the most approachable overall. You could also use lxml or xml.etree if you want/need finer control.

@doublebyte1
Copy link

doublebyte1 commented Apr 24, 2023

I would like to contribute in pygeometa by adding the support of the QGIS metadata *.qmd storage file, which is XMLbased

What is the workflow then? Creating a QGIS resource QMD from an MCF?

IMHO, the most interesting use case would be the other way round. QGIS already has a very nice UI for authoring metadata. However, it only supports one schema, which is not very helpful in the majority of use cases. It would be really helpful to be able to import this file in pygeometa and apply a transformation to another schema (e.g.: OGC API Records, ISO1915, STAC). Then people could use QGIS+pygeometa as a pipeline for authoring standards based metadata 🙂

@tomkralidis
Copy link
Member

@doublebyte1 good idea. Please open a separate issue?

@doublebyte1
Copy link

@doublebyte1 good idea. Please open a separate issue?

@tomkralidis There is an issue from @PascalLike here: #222

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

3 participants