-
Notifications
You must be signed in to change notification settings - Fork 16
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
Adding overview images to records #35
Comments
Hey Andy - is there a workaround for this issue? |
Testing it graphic overview are added and visible properly in the search results. So the feature is working but encoding could be improved probably. Encoding is currently made using the same as in ISO19139
A "better" encoding would be
But then what to put in filename which is mandatory ? Can be improved in here https://github.com/metadata101/iso19115-3/blob/3.4.x/src/main/plugin/iso19115-3/process/thumbnail-add.xsl#L90 Ref document https://github.com/ISO-TC211/XML/blob/master/standards.iso.org/iso/19115/-3/mcc/1.0/commonClasses.xsd#L10 |
Hey there. Could someone please point me in the direction of the plugin files that need to be edited? |
Thumbnails and other files that can be added to the metadata are added to the xml using an xslt process (GeoNetwork uses heavily xslt for metadata updates). Xslt processes are defined in this folder of the schema: https://github.com/metadata101/iso19115-3/tree/3.4.x/src/main/plugin/iso19115-3/process For example, when you add a thumbnail image, it's called a service in the backend that uses this xslt process: https://github.com/metadata101/iso19115-3/blob/3.4.x/src/main/plugin/iso19115-3/process/thumbnail-add.xsl The process updates the metadata with the |
Thanks for that josegar74 I managed to resolve the issue with that information. for anyone playing along at home -I had a look at
were not actually receiving any values.
File attached |
In branch `3.4.x` of https://github.com/metadata101/iso19115-3 the parameters of the process `thumbnail_add.xsl` are `thumbnail_url`, `thumbnail_desc` and `thumbnail_type` (https://github.com/metadata101/iso19115-3/blob/2f484b053aabe8939c48bbeb0018824c1bbd724b/src/main/plugin/iso19115-3/process/thumbnail-add.xsl#L18-L21) This commit fixes the names of these parameters in the _Add online resource_ panel configuration to match the names in the schema process. This also should fix the part of metadata101/iso19115-3#35 about the overview not being added to the XML. Backport of geonetwork#3852.
@sraAusstage this problem with the parameters names would be fixed in geonetwork/core-geonetwork#3852 and geonetwork/core-geonetwork#3853 for GN 3.6.x and 3.4.x. |
In branch `3.4.x` of https://github.com/metadata101/iso19115-3 the parameters of the process `thumbnail_add.xsl` are `thumbnail_url`, `thumbnail_desc` and `thumbnail_type` (https://github.com/metadata101/iso19115-3/blob/2f484b053aabe8939c48bbeb0018824c1bbd724b/src/main/plugin/iso19115-3/process/thumbnail-add.xsl#L18-L21) This commit fixes the names of these parameters in the _Add online resource_ panel configuration to match the names in the schema process. This also should fix the part of metadata101/iso19115-3#35 about the overview not being added to the XML. Backport of #3852.
Overview images are not being added or appearing in metadata records under this schema due to a new way overview images are handled in the iso19115-3 schema. This is due to the deprecation of the old method. See the discussion below for further details.
Hi Guys
Note: in ISO 19115-3 there is a new way of managing overviews
The original way is still there but deprecated
Ideally use:
Cheers
e
BLEYS Evert Mr
Data Manager
Australian Bureau of Agricultural and Resource Economics and Sciences
Department of Agriculture and Water Resources
The text was updated successfully, but these errors were encountered: