Project

General

Profile

Actions

bug #10234

closed

MetaData of images coming from the new image server are not shown

Added by Katja Luther about 1 year ago. Updated 12 months ago.

Status:
Closed
Priority:
Highest
Assignee:
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

60%

Estimated time:
Severity:
normal
Found in Version:

Description

mail DR:

Guten Morgen,

könnten wir uns zum Metadatenworkflow nochmal besprechen? Die Bilder werden jetzt über den neuen Imageserver mit den Metadaten in den Einzelfeldern ausgeliefert und sind auch in den Metadatenfiles enthalten. Jetzt müssten wir „nur“ noch die Einstellung finde, dass sie auch in Openseadragon angezeigt werden.
Abutilon theophrasti
https://www.flora-of-cyprus.eu/cdm_dataportal/taxon/f3b1e355-6b15-46ce-a85d-a10d9c7e77e5/images#?c=&m=&s=&cv=&manifest=https%3A%2F%2Fapi.cybertaxonomy.org%2Fcyprus%2Fiiif%2Ftaxon%2Ff3b1e355-6b15-46ce-a85d-a10d9c7e77e5%2Fmanifest%3Ftype%3DImageFile%26relationships%3D%26relationshipsInvers%3D%26includeTaxonDescriptions%3D1%26includeOccurrences%3D%26includeOriginals%3D%26includeTaxonNameDescriptions%3D%26includeTaxonomicChildren%3D&xywh=0%2C-299%2C1399%2C1728
Und dann das Bild Abutilon_theophrasti_C1.jpg
Beispiel über den Imageserver direkt wäre https://pictures.bgbm.org/iiif/3/mediacloud!org1!b695787f-ceb9-42f4-b82f-02f8ef99c485!original/info.json
Auch in dem Service von Andreas K. sind die Daten enthalten: https://image.bgbm.org/metadata/info?file=mediacloud/org1/b695787f-ceb9-42f4-b82f-02f8ef99c485/original

Viele Grüße
Dominik


In MediaInfoServiceReader.read() the json file is read and the fields of the MediaInfo object are filled, but actually the call MediaInfo mediaInfo = mapper.readValue(jsonStream, MediaInfo.class); fills all fields except the metaData map.

This part of the code works correct, I adapted the tests, so that the metaData are checked as well.

But the webservice to get the metadata filters the metadata and looks only for metadata defined in the preference MediaMetadataKeynameIncludes. So we have to adapt the preferences to the fieldnames.


Related issues

Related to EDIT - task #10249: Mapping for metadata labels of images in portalIn ProgressKatja Luther

Actions
Related to EDIT - bug #10292: Filter Metadata from Cdm Instance and from MediaServerDuplicateKatja Luther

Actions
Related to EDIT - bug #10440: Still some problems with metadata of images in portalClosedKatja Luther

Actions
Actions #1

Updated by Katja Luther about 1 year ago

  • Description updated (diff)
  • Status changed from New to In Progress
Actions #2

Updated by Katja Luther about 1 year ago

  • Subject changed from MetaData are not filled in MediaInfoServiceReader.read() to MetaData are not shown
Actions #3

Updated by Katja Luther about 1 year ago

  • Subject changed from MetaData are not shown to MetaData of images coming from the new image server are not shown
Actions #4

Updated by Katja Luther about 1 year ago

  • Description updated (diff)
Actions #5

Updated by Dominik Roepert about 1 year ago

iptc
Headline
Caption
Country/PrimaryLocationName
ProvinceState
City
Sublocation
DateCreated
Credit
CopyrightNotice
OriginalTransmissionReference
ObjectName
Keywords

EXIF:
GPSVersionID
GPSLatitude
GPSLatitudeRef
GPSLongitude
GPSLongitudeRef
GPSAltitude
GPSAltitudeRef
GPSTimeStamp
GPSDateStamp

Actions #6

Updated by Andreas Müller about 1 year ago

  • Target version changed from Unassigned CDM tickets to Release 5.44
  • % Done changed from 0 to 20

Dominik Roepert wrote in #note-5:

iptc
Headline
Caption
Country/PrimaryLocationName
ProvinceState
City
Sublocation
DateCreated
Credit
CopyrightNotice
OriginalTransmissionReference
ObjectName
Keywords

EXIF:
GPSVersionID
GPSLatitude
GPSLatitudeRef
GPSLongitude
GPSLongitudeRef
GPSAltitude
GPSAltitudeRef
GPSTimeStamp
GPSDateStamp

If possible, it would be nice not to show them with CamelCase in the viewer but with space.
Also I wonder, if the EXIF data are all wanted to be shown. I remember that we had filtered out many of them on purpose in the past. However, this can be handled on a per instance base depending on the users needs. Therefore I add RH, NoK and WGB to cc.

@Katja: we should also discuss if the DB preferences are the best place here. As it is mostly a dataportal issue we may want to make them dataportal configuration parameters.

Actions #7

Updated by Andreas Müller about 1 year ago

  • Priority changed from New to Highest
Actions #8

Updated by Katja Luther about 1 year ago

After debugging and analyzing the cdm and apache code, we now know that the mapping of the camelcase labels to human readable labels is done by the apache library. There are still a lot of labels in camel case so we should handle all labels and convert and add whitespaces.

Actions #9

Updated by Katja Luther about 1 year ago

  • % Done changed from 20 to 30

Now, the labels are converted from camelCase to "normal" string with whitespaces (is there a name for it?).

Next step would be to adapt the preference in db to the new keywords and/or move this configuration to the dataportal code.
If we keep the configuration by DB preference, we should adapt the default values for the preference, actually they are "title", "artist", "rights", "location", "copyright", "date", "photographer", "locality", "taxon", "collection", "description".

Actions #10

Updated by Andreas Müller about 1 year ago

  • Related to task #10249: Mapping for metadata labels of images in portal added
Actions #11

Updated by Katja Luther 12 months ago

  • Target version changed from Release 5.44 to Release 5.36

I need to adapt the default value for the preference, then we can close this ticket. I will do that today.

Actions #12

Updated by Katja Luther 12 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

default values are adapted, I will copy the production db to test and then you can test with Abutilon theophrasti and the image Abutilon_theophrasti_C1.jpg

Actions #13

Updated by Andreas Müller 12 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 30 to 60

Do you still add the results of cichorieae testing to this ticket?

Actions #14

Updated by Katja Luther 12 months ago

  • Status changed from Feedback to Closed

After some confusions because of different links in production and test, we could show, that the metadata for the images of cichorieae portal still shown and can close this ticket.

Actions #15

Updated by Katja Luther 11 months ago

  • Related to bug #10292: Filter Metadata from Cdm Instance and from MediaServer added
Actions #16

Updated by Katja Luther 3 months ago

  • Related to bug #10440: Still some problems with metadata of images in portal added
Actions

Also available in: Atom PDF