Comments (13)
Rennes Métropole usually configures Metadata links directly in the GeoServer layer configuration (those links are present inside the GetCapabilities response). GeoSolutions will improve the existing Layer Metadata tool to make it more configurable. The aim is to retrieve the metadata XML (in iso19139 format) by using the metadata URL present in the WMS GetCapabilities response and parse it with a new template that extrapolates the relevant metadata properties to show through xpath:
Metadata property | xpath |
---|---|
title | /gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString |
abstract | /gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract/gco:CharacterString |
purpose | /gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:purpose/gco:CharacterString |
source | /gmd:MD_Metadata/gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString |
created date | /gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date + codeListValue="creation" |
last revision date | /gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date + codeListValue="revision" |
points of contact (all of the available ones inside the medatata) | /gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:pointOfContact/gmd:CI_ResponsibleParty |
If a layer is added to the map from a CSW source instead, the existing tool’s behaviors are maintained but using the new template to present iso19139 metadata properties instead of the DC one as it currently does.
Also a link to the original metadata catalog page will be included in the Layer Metadata modal.
from mapstore2-georchestra.
as requested by @tdipisa
https://public.sig.rennesmetropole.fr/geoserver/
espub_mob:gev_ajeu
Is that enough ?
from mapstore2-georchestra.
@landryb and @catmorales I think that we need some clarifications for this task. MapStore supports Dublin Core for CSW requests. This means that when you select a CSW source type from the catalog tool, MapStore performs a GetRecords request to retrieve the list of metadata records in DC with related metadata properties, then these metadata properties can be used in MS to:
-
Show metadata information for each catalog's item directly in the catalog tool list: here the online
documentation -
If a layer is added to the TOC from a CSW source, MS maintains the URL of the CSW catalog endpoint in the layer configuration so if you select that layer in TOC a button appears (if the related plugin configured) inside the TOC's toolbar ready to be clicked: if you click on this button a modal opens reporting the metadata information related to the layer
As far as I know not all the metadata properties reported in the issue description are available in DC, so I need the have the following clarified as soon as you can:
- Can you please clarify if the purpose of this tool is to support both DC and iso19115-39? Can we simply show in MS what is available in DC by including anyway also a link to the original catalog to access the detailed sheet? If we cannot do that we will probably need to include in Layer Settings a new input field (available only to admin users) containing the metadata URL so it can be used to retrieve the metadata in the desired format: MS will need to be improved then to extrapolate needed metadata properties from the catalog's response using xpath
- Can you please specify the xpath of the metadata properties reported in the description, just to prevent misunderstanding?
@mbarto please provide the show metadata plugin documentation in a comment here so @gitcontributor can start looking at this and understand how it works. Thank you so much. Then we will improve our online documentation by including information to this tool too.
from mapstore2-georchestra.
@MaelREBOUX should know, i'm not sure dublin core was a target. In the existing mapfishapp, we're used to get metadata url via the value configured within geoserver for the layer, both in XML and HTML forms..
from mapstore2-georchestra.
@landryb @catmorales @tdipisa there is some documentation on how to implement a custom template, using a property of the TOC plugin (metadataTemplate). You can find it here: https://mapstore.geo-solutions.it/mapstore/docs/api/plugins#plugins.TOC
That said, the usage of this functionality is currently available only for dublin core, because the MapStore API and related parser for CSW only supports that.
from mapstore2-georchestra.
@offtherailz waiting for @MaelREBOUX feedback, please enable for now the layer metadata plugin that we already have.
from mapstore2-georchestra.
I don't know if it can help you but we'd like to have the same fucntionnality as in mapfishapp :
Permalien:
https://georchestra.geo-solutions.it/mapfishapp/map/47388bc483069f60104b12903db7a200
from mapstore2-georchestra.
Sorry sorry for my late answer.
I think we have a misunderstanding on what we want to have as 'layer metadata' and where we want to see this infos.
Here I will answer only for CSW that is for me the first user case.
Show metadata information for each catalog's item directly in the catalog tool list
OK but here we need to muscle the metadatas informations. We need this pattern by default
${title}
Description
${abstract}
But
${purpose}
Généalogie
${source}
Dates
création : dd/mm/yyyy - révision : dd/mm/yyyy
If a layer is added to the TOC from a CSW source, MS maintains the URL of the CSW catalog endpoint in the layer configuration so if you select that layer in TOC a button appears (if the related plugin configured) inside the TOC's toolbar ready to be clicked: if you click on this button a modal opens reporting the metadata information related to the layer
In understand this functionnality is accessible by editing the layer properties. There we can manage a tooltip (I test it).
This is not as simple as we want. User should have a quick and fast access to the metadata.
So I propose to create a new button (with other buttons when you select a layer in the TOC) named "MD".
By clicking this button it opens a new "popup" in the center of the screen. This object will show the metadata content (as ISO-19139) :
- title (/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString)
- abstract (/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract/gco:CharacterString)
- purpose (/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:purpose/gco:CharacterString)
- source (/gmd:MD_Metadata/gmd:dataQualityInfo/gmd:DQ_DataQuality/gmd:lineage/gmd:LI_Lineage/gmd:statement/gco:CharacterString)
- created date (/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date + codeListValue="creation" )
- last revision date (/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date/gco:Date + codeListValue="revision" )
- points of contact (severals) (/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:pointOfContact/gmd:CI_ResponsibleParty)
Maybe we need here a point by telephone ?
from mapstore2-georchestra.
we can have a point about it on the next meeting
from mapstore2-georchestra.
we can have a point about it on the next meeting
@catmorales @MaelREBOUX yes, let's discuss this during the next meeting on Thursday
from mapstore2-georchestra.
@MaelREBOUX yes I think, thank you.
from mapstore2-georchestra.
If a layer is added to the map from a CSW source instead, the existing tool’s behaviors are maintained but using the new template to present iso19139 metadata properties instead of the DC one as it currently does.
@tdipisa What do you mean by "existing tool's behaviors are maintained"? What behaviors?
from mapstore2-georchestra.
@vlt1 moving it back to in ready after testing. As specified in the original issue description
Also a link to the original metadata catalog page will be included in the Layer Metadata modal.
The link to use (on top of the layer metadata modal with a label like "Metadata available at:") is the one that you can find in the WMS GetCapabilities that corresponds to the text/html format.
Therefore if you find that element in WMS GetCapabilities you have to include a link in the Layer Metadata modal.
from mapstore2-georchestra.
Related Issues (20)
- FeatureEditor - relational dropdown according to another field
- [StreetView Plugin] ability to set parameters for the size of the default window (e.g. to display the date of recording). HOT 3
- [Annotations] Circle object - Mapstore crash entering a value in Radius field before drawing the circle HOT 1
- [Annotations] Disabled annotations are printed HOT 2
- [Annotations] Geometry title not easy to modify HOT 2
- Personal plugins broken since 2023.02.00-RC*-geOrchestra deployments HOT 6
- Problem printing when not connected HOT 2
- Update MS to latest version (Phase III) HOT 2
- Dashboard's Tables not working since 2023.02.00-RC1-geOrchestra and 2023.02.00-RC2-geOrchestra deployments HOT 7
- Problem with permalink generated from an old context HOT 4
- WMTS not working with EPSG:3948 and 2154 since 2023.02.00-RC*-geOrchestra deployments HOT 1
- Problem with log4j2.properties from datadir HOT 1
- Edit button is not present by default but yes after FeatureEditor (2022.02) HOT 1
- Node.js - wich version to use ? HOT 6
- Is 2023.02.xx stable ? HOT 2
- [Context Export] Unabble to export map configuration in context manager since 2023.02.RCx HOT 3
- [Annotation] Circle radius is modified when saving the annotation HOT 3
- [Print] Ability to print image legend with an appropriate scale HOT 4
- [FeatureEditor] - EditingAllowedRoles by attribute HOT 1
- [FeatureEditor] - Prohibit geometry edition for some roles HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapstore2-georchestra.