geopython / pygeometa

pygeometa is a Python package to generate metadata for geospatial datasets
https://geopython.github.io/pygeometa
Other
104 stars 44 forks source link

check thesaurus import from iso19139 #225

Closed pvgenuchten closed 1 year ago

pvgenuchten commented 1 year ago

quite some inspire metadata these days uses following syntax to indicate a thesaurus, this is not picked up by owslib/pygeometa at iso19139 import

<gmd:thesaurusName>
            <gmd:CI_Citation>
              <gmd:title>
                <gmx:Anchor xlink:href="http://inspire.ec.europa.eu/theme">GEMET - INSPIRE themes, version 1.0</gmx:Anchor>
              </gmd:title>
              <gmd:date>
                <gmd:CI_Date>
                  <gmd:date>
                    <gco:Date>2008-06-01</gco:Date>
                  </gmd:date>
                  <gmd:dateType>
                    <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication"/>
                  </gmd:dateType>
                </gmd:CI_Date>
              </gmd:date>
            </gmd:CI_Citation>
          </gmd:thesaurusName>
tomkralidis commented 1 year ago

@pvgenuchten can you provide a full sample ISO record?

pvgenuchten commented 1 year ago

Some examples: