-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
wip for better csw-dcat output for data.gouv.fr #288
base: georchestra-gn4.2.x
Are you sure you want to change the base?
Conversation
<!-- SIB addon--> | ||
<xsl:if test="(gmd:description/gco:CharacterString)[1]!=''"> | ||
<dct:description> | ||
<xsl:value-of select="(gmd:description/gco:CharacterString)[1]"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note for $self: this is to solve Description des données non renseignée
on harvested data, which comes from the attached resource description
|
||
<!-- SIB addon--> | ||
<!-- <dcat:Dataset rdf:about="{$resourcePrefix}/datasets/{iso19139:getResourceCode(../../.)}"> --> | ||
<dcat:Dataset rdf:about="{$resourcePrefix}/{iso19139:getResourceCode(../../.)}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/datasets
doesnt map to anything in geonetwork under resources?
group-by="gco:CharacterString|gmx:Anchor"> | ||
<xsl:text>
</xsl:text> <!-- linebreak --> | ||
<xsl:value-of select="normalize-space(../gmd:thesaurusName/*/gmd:title)"/> : <xsl:value-of select="normalize-space(gco:CharacterString|gmx:Anchor)"/><xsl:text>.</xsl:text> | ||
</xsl:for-each-group> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after discussion with @jeanpommier this section might not be needed ?
the complete section about |
so regarding licences mapping, i've did a bunch more tests, and with what we have now in the PR, if we have this for a md:
we do end up with
we end up with im not the specialist to judge which one makes sense, but what matters is from my reading of https://guides.data.gouv.fr/guide-data.gouv.fr/moissonnage/les-differents-types-de-moissonneurs#detection-des-licences-par-le-moissonnage if we have a value ( see for example: https://demo.georchestra.org/datahub/dataset/faa240f5-90a8-4e1f-b8da-39c913bed9df as for the xsl voodoo, i don't really understand the indirection done through eg if i select
which traduces to an empty |
to note for the license mapping, ecolab has this: ecolabdata/ecospheres-core-geonetwork@6724d09 |
cf georchestra/georchestra#4182, PR mostly for diff readability of https://github.com/georchestra/georchestra/files/14127940/tpl-rdf.xsl.txt, all work from @jeanpommier
geOrchestra/geonetwork checklist