Skip to content

Commit

Permalink
Merge pull request #293 from opendata-swiss/geocat
Browse files Browse the repository at this point in the history
add comment fallback value
  • Loading branch information
mispichtig authored Jan 6, 2025
2 parents 0f01862 + 462554b commit 756b2cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
:DCAT: :ref:`dcat:contactPoint <dcat-dataset-contact-point>`
:XPATH: ``//gmd:identificationInfo/gmd:pointOfContact or //gmd:contact``
:XPATH: ``//gmd:identificationInfo/gmd:pointOfContact or //gmd:contact`` (fallback value)
:Value: ``gmd:electronicMailAddress/gco:CharacterString``
:Usage Notes: Only one contact email is taken. A corresponding name is not taken.
:Usage Notes: Only one contact email is taken. A corresponding name is not taken.

gmd:contact is the metadata contact registered in geocat.ch and is only used as a fallback value.

.. code-block:: xml
:caption: ISO-19139_che XPath for ``dcat:contactPoint``: the first is taken in the following order
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
:DCAT: :ref:`dct:publisher <dcat-dataset-publisher>`
:XPATH: ``//gmd:identificationInfo/gmd:pointOfContact`` or ``//gmd:contact//che:CHE_CI_ResponsibleParty``
:XPATH: ``//gmd:identificationInfo/gmd:pointOfContact`` or ``//gmd:contact//che:CHE_CI_ResponsibleParty`` (fallback value)
:Filter: ``.//gmd:CI_RoleCode/@codeListValue``
:Value: ``.//gmd:organisationName/gco:CharacterString/text()``
:Usage Notes: The publisher consists of a name and a uri.
Currently only the publisher name is mapped from the geocat dataset:
For the uri the url of the organization that the dataset belongs on
opendata.swiss is taken: https://opendata.swiss/de/organization
opendata.swiss is taken: https://opendata.swiss/de/organization.

gmd:contact is the metadata contact registered in geocat.ch and is only used as a fallback value.

.. code-block:: xml
:caption: ISO-19139_che XPath for ``dct:publisher``: the first is taken in the following order:
Expand Down

0 comments on commit 756b2cb

Please sign in to comment.