pygeometa icon indicating copy to clipboard operation
pygeometa copied to clipboard

Add license restriction to iso19139

Open frafra opened this issue 3 years ago • 3 comments

It would be nice to be able to specify the license under gmd:identificationInfo/gmd:MD_DataIdentification/gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:useLimitation.

https://github.com/geopython/pygeometa/blob/c8d4f49146828dd03ca8a1a4c1acdc3d94a187f0/pygeometa/schemas/iso19139/main.j2#L242-L244

frafra avatar Dec 27 '22 14:12 frafra

I'd lean towards something like (in the MCF) the below proposal:

identification:
    license:
        name: CC-BY-4.0
        url: https://spdx.org/licenses/CC-BY-4.0.html

where the license object must define at least one of name or url. The above can then be applied in a more generic manner to numerous supported metadata formats, including ISO of course.

@frafra thoughts?

tomkralidis avatar Feb 19 '23 08:02 tomkralidis

It seems great to me :)

frafra avatar Feb 20 '23 11:02 frafra

@frafra: implemented in #212. Can you rebase/update #206 accordingly? Thanks

tomkralidis avatar Feb 24 '23 18:02 tomkralidis