geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
416 stars 487 forks source link

allow to alter metadata extracted from wms-capabilities #1440

Closed pvgenuchten closed 6 months ago

pvgenuchten commented 8 years ago

a typical geonetwork usecase is a harvest of metadata from wms-capabilities. The user then wants to complete the metadata using geonetwork. A next time a harvester runs, it should not replace the manual alterations, but it would be nice if it would update the dynamic fields such as data-bounds etc

pvgenuchten commented 8 years ago

the current "allow to modify metadata" in the harvester config may give the impression to users that this feature is already available. But (as I understood) metadata changes are currently overwritten by the next harvest.

fxprunayre commented 8 years ago

the current "allow to modify metadata" in the harvester config may give the impression to users that this feature is already available. But (as I understood) metadata changes are currently overwritten by the next harvest.

So maybe we could start by adding a clear help message below the settings "Allow editing on harvested records" to warn user.

Then for the harvesting process, maybe we could have a similar approach to the Talend Spatial crawler (https://github.com/talend-spatial/workspace-metadata-crawler):

The UPDATE mode is based on a list of XPATH to update and use CSW Transaction for the crawler. For OGC/WxS harvester, we could use the XPATH API and config could be something like:

What do you think ?

landryb commented 8 years ago

My understanding was that the resulting MD wasn't editable, and that all the values you wanted to be in the MD should be in the GetCapabilities content, or eventually tweaked via a custom xsl process ?