Darwin Core is a set of XMP metadata for use by biologists working in the field. It allows them to add metadata for things like the species name, age, sex, etc. That data does not show up in digikam. Is there something I have to toggle to get it to show?Exiv2 can show the data: $ exiv2 -p x H750-A-11-12-07-1553-Eirbar.JPG Xmp.dc.rights LangAlt 1 lang="x-default" CC Xmp.dc.type XmpBag 1 StillImage Xmp.dwc.Event XmpText 0 type="Struct" Xmp.dwc.Event/dwc:habitat XmpText 11 Terra Firme Xmp.dwc.Occurrence XmpText 0 type="Struct" Xmp.dwc.Occurrence/dwc:behavior XmpText 9 predation Xmp.dwc.Occurrence/dwc:establishmentMeans XmpText 6 native Xmp.dwc.Occurrence/dwc:individualCount XmpText 1 1 Xmp.dwc.Occurrence/dwc:individualID XmpText 11 TBS-EB-0001 Xmp.dwc.Occurrence/dwc:lifeStage XmpText 5 adult Xmp.dwc.Occurrence/dwc:sex XmpText 12 undetermined Xmp.dwc.Record XmpText 0 type="Struct" Xmp.dwc.Record/dwc:institutionID XmpText 29 Tiputini Biodiversity Station Xmp.dwc.Taxon XmpText 0 type="Struct" Xmp.dwc.Taxon/dwc:scientificName XmpText 12 Eira barbara Xmp.dwc.Taxon/dwc:vernacularName LangAlt 1 lang="x-default" Tayra Xmp.dwc.dctermsLocation XmpText 0 type="Struct" Xmp.dwc.dctermsLocation/dwc:country XmpText 7 Ecuador Xmp.dwc.dctermsLocation/dwc:decimalLatitude XmpText 9 -0.638330 Xmp.dwc.dctermsLocation/dwc:decimalLongitude XmpText 9 76.150000 Xmp.dwc.dctermsLocation/dwc:locality XmpText 35 Rio Tiputini, 50 KM East of El Coca _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I'm not sure whether you'll find everything you need, but have you looked at the Digikam Settings, then Metadata and Display tag. There are a lot of data you can toogle on/off. Marie-Noëlle2013/11/26 Alan Pater <[hidden email]>
-- _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Alan Pater
On Tuesday 26 November 2013 00:47:19 Alan Pater wrote:
> Darwin Core is a set of XMP metadata for use by biologists working in the > field. It allows them to add metadata for things like the species name, > age, sex, etc. > > That data does not show up in digikam. Is there something I have to toggle > to get it to show? > > Exiv2 can show the data: > > $ exiv2 -p x H750-A-11-12-07-1553-Eirbar.JPG > Xmp.dc.rights LangAlt 1 > lang="x-default" CC > Xmp.dc.type XmpBag 1 StillImage > Xmp.dwc.Event XmpText 0 type="Struct" > Xmp.dwc.Event/dwc:habitat XmpText 11 Terra Firme > (...) > Xmp.dwc.dctermsLocation/dwc:locality XmpText 35 Rio Tiputini, > 50 KM East of El Coca From what I've seen in Digikam, it can only display data it knows about, so any other metadata will not be shown (and can't be read or written) . XMP is basically XML, so the metadata has the labels included (have a look with a binary editor, like Okteta), which is why Exiv2 can display the metadata with labels, and without the schema being known to the developers. So when displaying selected items in the metadata, Digikam can only show items known at compile time ('hard coded'). You /might/ be able to see other items when showing the full list (metadata tab in the right bar, XMP item, click on the button with a screen on it, not the portrait). As I don't use other metadata than those provided by Digikam, I cannot be sure, though. Wrt metadata: There's a lot of information in the different tabs, and they are grouped according to type/camera/schema. Would it be possible to get an option to close/open all the subsections in one go (at least in the configuration dialog: there's a lot of camera-specific parts in the makernote section, and to most users only a few are relevant...) With a hint where to look I could try and implement such an option myself (and submit a patch, ofc). Remco _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by tosca
Alan, Please report this problem to KDE bugzilla in digiKam/metadata section. I will fix it... Gilles Caulier 2013/11/26 Marie-Noëlle Augendre <[hidden email]>
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Alan Pater
On Tue, 26 Nov 2013, Alan Pater wrote: > Darwin Core is a set of XMP metadata for use by biologists working in the > field. It allows them to add metadata for things like the species name, > age, sex, etc. > > That data does not show up in digikam. Is there something I have to toggle > to get it to show? > > Exiv2 can show the data: Hello Alan, My comments, as I have similar issues when using non standard XMP professional schemas or private schemas. (When I say « non standard », I mean valid schemas used by such or such community to handle data not provided by the basic XMP schemas, as XMP Basic, Dublin Core, Exif, Media Management, et al.) The XMP format (RDF/XML based) allows any metadata reading application to read/display any property, even from unknown schemas. And that's why exiv2 shows up all your dwc data. But, to edit/rewrite XMP properties an application must know the schema and properties types. And Digikam has metadata edition features, so it can be seen as a XMP read/write application. And that's why, if you look into the XMP properties list (Settings > Metadata > Display > XMP viewer) you'll find only « known » properties, i.e. the basic XMP schemas, and none of the dozen of professional or private extensions. If you just wish to view your data, a metadata reader could do because, cf. supra, even unknown properties can be displayed. You can use command line tools, as you did with exiv2, or some images browers/viewers. As for me I use the tandem Dolphin+Gwenview and Gwenview shows all existing XMP data, known or unknown. If you wish to edit your data too, you'll have to use a specific application aware of the dwc schema (I'm not a biologist and I don't know what software exist), or to use a configurable metadata editor. I am a exiftool user, and with exiftool it's possible to declare any XMP schema your need, a known schema as dwc or private schemas, in the ~/.ExifTool_config file. This will make exiftool aware of your data and you will be able to edit, modify, remove, not just read. (Perhaps the same thing, extended schemas configuration, is possible with exiv2 but I don't known the syntax.) Regards, Jean-François _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Remco Viëtor
Remco,
In fact, in XMP metadata viewer, there are 2 display mode (as in exif, makernote, iptc) 1/ Custom : you can set XMP tags to display in digiKam/Setup/Metadata 2/ Full : all most important namespaces for photographers are filtered and displayed. Yes, in Full mode, tags are listed by namespace here : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/widgets/metadata/xmpwidget.cpp#L43 As you can see, i don't set a darwin core space, because it's not relevant of photography, but medical. My proposal : 1/ Rename "Full Mode" to "Photograph Mode". 2/ Add new mode button to not filter tags. This will also display all unknown tags by Exiv2 in hexadecimal. 3/ Do the same for all metadata viewers as Exif, Makernote, and Iptc. All code relevant is in this folder : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/widgets/metadata/ You will see that all viewers GUI code are factored in same parent class metadatawidget.cpp, especially the Mode button. Filtering is implemented in model class metadatalistview.cpp Note : Do not use reviewboard to post a patch. Just use the bugzilla entry... Gilles Caulier 2013/11/26 Remco Viëtor <[hidden email]>: > On Tuesday 26 November 2013 00:47:19 Alan Pater wrote: >> Darwin Core is a set of XMP metadata for use by biologists working in the >> field. It allows them to add metadata for things like the species name, >> age, sex, etc. >> >> That data does not show up in digikam. Is there something I have to > toggle >> to get it to show? >> >> Exiv2 can show the data: >> >> $ exiv2 -p x H750-A-11-12-07-1553-Eirbar.JPG >> Xmp.dc.rights LangAlt 1 >> lang="x-default" CC >> Xmp.dc.type XmpBag 1 StillImage >> Xmp.dwc.Event XmpText 0 type="Struct" >> Xmp.dwc.Event/dwc:habitat XmpText 11 Terra Firme >> (...) >> Xmp.dwc.dctermsLocation/dwc:locality XmpText 35 Rio Tiputini, >> 50 KM East of El Coca > > From what I've seen in Digikam, it can only display data it knows about, so > any other metadata will not be shown (and can't be read or written) . > > XMP is basically XML, so the metadata has the labels included (have a look > with a binary editor, like Okteta), which is why Exiv2 can display the > metadata with labels, and without the schema being known to the developers. > > So when displaying selected items in the metadata, Digikam can only show > items known at compile time ('hard coded'). You /might/ be able to see > other items when showing the full list (metadata tab in the right bar, XMP > item, click on the button with a screen on it, not the portrait). As I > don't use other metadata than those provided by Digikam, I cannot be sure, > though. > > > Wrt metadata: There's a lot of information in the different tabs, and they > are grouped according to type/camera/schema. Would it be possible to get > an option to close/open all the subsections in one go (at least in the > configuration dialog: there's a lot of camera-specific parts in the > makernote section, and to most users only a few are relevant...) > > With a hint where to look I could try and implement such an option myself > (and submit a patch, ofc). > > Remco > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Remco Viëtor
On Tue, 26 Nov 2013, Remco Viëtor wrote: > From what I've seen in Digikam, it can only display data it knows > about, so any other metadata will not be shown (and can't be read > or written) . Right. (From my personal use.) > So when displaying selected items in the metadata, Digikam can only show > items known at compile time ('hard coded'). You /might/ be able to see > other items when showing the full list (metadata tab in the right bar, XMP > item, click on the button with a screen on it, not the portrait). As I > don't use other metadata than those provided by Digikam, I cannot be sure, > though. The answer is : no :-) I use non standard metadata and the Full list option shows only known data, checked or unchecked in the Metadata settings. To see unknown data, one has to use another viewer, e.g. Gwenview, or command line tools. Regards, Jean-François PS: my personal opinion is that non standard (or as Gilles said, non strictly photographic data) support is a complicated problem. XMP has been thought to be extensible, the X stands for that, and many schemas exist in different communities. Should an application software as Digikam implement (hard coded) all existing schema and ingest all new schemas as they are created ? Sounds like an endless task. Perhaps a good direction could be to use specific configuration files a user could setup to describe relevant data ? (In my previous message I mentionned exiftool because Phil Harvey decided not to implement all possible schemas, but to feature a syntax and configuration file .ExifTool_config to let the user declare anything. Looks probably the only solution to support extensibility.) _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Tuesday 26 November 2013 10:34:55 Jean-François Rabasse wrote:
> (...) > > PS: my personal opinion is that non standard (or as Gilles said, non > strictly photographic data) support is a complicated problem. > XMP has been thought to be extensible, the X stands for that, and many > schemas exist in different communities. > Should an application software as Digikam implement (hard coded) all > existing schema and ingest all new schemas as they are created ? > Sounds like an endless task. > Perhaps a good direction could be to use specific configuration files > a user could setup to describe relevant data ? > (In my previous message I mentionned exiftool because Phil Harvey > decided not to implement all possible schemas, but to feature a syntax > and configuration file .ExifTool_config to let the user declare > anything. Looks probably the only solution to support extensibility.) The nice thing about XMP: it's is a variant on XML, so there is no need to configure which schemas to accept, as each piece of information has its name available as well. You'd only need configuration options if you want to show only /some/ of the fields. That's also why Exiv2 can easily display all XMP metadata, with no need for guessing at tags or values: they are all in the metadata) Note that all this concerns *XMP* metadata only, EXIF and IPTC data are different (for starters, the EXIF data has binary and fixed size fields, no tag names included in the image file, and even a field with undefined structure: the makernote area). Then again, OP's question was about XMP data only. Remco === "technical" exemple following, can be ignored ;) === This is what I found in one of my images: <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:digiKam="http://www.digikam.org/ns/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/" xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" Note all the "xmlns:..." lines. Those lines indicate what schemas/namespaces are used, but they do *not* indicate where to find the definitions (DTD), their only function is to generate a unique name for the namespace (unfortunately for us...). If the DTD for a given schema is available, it should be possible to generate a settings dialog to define what information to show 'on the fly'. Without it, we would be limited to show all or nothing per namespace, as we cannot be sure to cover all possible tags within th namespace. _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Alan Pater
Thanks everyone for the comments and ideas. I just have a couple of notes and another question. The photos I am working with are from a camera trap project in the western amazon, Darwin Core allows embedding information that is relevant to researchers studying biodiversity. Basically we are dealing with photos of animals taken in the wild.http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4442.0/all.html?PHPSESSID=9noeti9c1lphv27ricp7ru6956 2013/11/26 Alan Pater <alan.pater at gmail.com> > Darwin Core is a set of XMP metadata for use by biologists working in the > field. It allows them to add metadata for things like the species name, > age, sex, etc. > > That data does not show up in digikam. Is there something I have to toggle > to get it to show? > > Exiv2 can show the data: _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2013/11/26 Alan Pater <[hidden email]>:
> Thanks everyone for the comments and ideas. I just have a couple of notes > and another question. > > The photos I am working with are from a camera trap project in the western > amazon, Darwin Core allows embedding information that is relevant to > researchers studying biodiversity. Basically we are dealing with photos of > animals taken in the wild. > > exiftool was mentioned and I should mention that it supports full read/write > support for DwC (Darwin Core). That's how I embedded the sample metadata to > some test images. > > http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4442.0/all.html?PHPSESSID=9noeti9c1lphv27ricp7ru6956 > > Would it be necessary to get read/write support built into exiv2 in order to > allow digikam full access to this metadata? yes, it's definitively better. Exiv2 has a table of XMP namespace with contents and format of data. I personalty patch this table to add and update digiKam and kipi-plugins XMP namespace. Look here : http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/properties.cpp#L181 Note : as you can see DwC namespace is not present here... This will not mean that we cannot read and write tags in this namespace, but this want mean that client applications need to know this namespace contents to play with it. Gilles Caulier _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-4
Alan, I found an entry in bugzilla which is probably relevant of digiKam problem to show unknow XMP namespace : Please check, review, and post your comment in this entry if it's relevant. In this case, no need to create a new entry in bugzilla... Gilles Caulier 2013/11/26 Gilles Caulier <[hidden email]>
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Alan, if you have a photo with DwC namespace available, please post file in bugzilla entry #328018. I patch dirty some code to be able to show unknown XMP namespace, and it's work as demonstration. See my screenshot posted in this bugzilla file for details...
Gilles Caulier
2013/11/26 Gilles Caulier <[hidden email]>
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Gilles, thanks a lot, I have posted to that bug report a sample image provided by Frank Bungartz at the Charles Darwin Foundation on the Galapagos. Cheers,On Tue, Nov 26, 2013 at 9:54 AM, Gilles Caulier <[hidden email]> wrote:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2013/11/26 Alan Pater <[hidden email]>
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-4
Agreed that adding DwC support to exiv2 would be the best of all possible worlds. Is that possible to do with the information we have or is more needed? The DwC website is here: http://rs.tdwg.org/dwc/On Tue, Nov 26, 2013 at 8:52 AM, Gilles Caulier <[hidden email]> wrote: 2013/11/26 Alan Pater <[hidden email]>: _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2013/11/26 Alan Pater <[hidden email]>:
> Agreed that adding DwC support to exiv2 would be the best of all possible > worlds. Is that possible to do with the information we have or is more > needed? > > The DwC website is here: http://rs.tdwg.org/dwc/ Yes, this scheme must be used to write relevant code in Exiv2 (where i pointed previously). I recommend to post a wish in Exiv2 bugzilla about this topic, excepted if you have enough experience in C++ coding to write relevant structure in this source file to add DwC namespace support... http://dev.exiv2.org/projects/exiv2 Gilles Caulier _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Alan,
Look my screenshot of metadata viewer, especially on top. http://www.flickr.com/photos/digikam/11082411096/ 328018#c13 Will be available on 4.0.0 release (bug #328018 closed)... Gilles Caulier 2013/11/26 Gilles Caulier <[hidden email]>: > 2013/11/26 Alan Pater <[hidden email]>: >> Agreed that adding DwC support to exiv2 would be the best of all possible >> worlds. Is that possible to do with the information we have or is more >> needed? >> >> The DwC website is here: http://rs.tdwg.org/dwc/ > > Yes, this scheme must be used to write relevant code in Exiv2 (where i > pointed previously). > > I recommend to post a wish in Exiv2 bugzilla about this topic, > excepted if you have enough experience in C++ coding to write relevant > structure in this source file to add DwC namespace support... > > http://dev.exiv2.org/projects/exiv2 > > Gilles Caulier Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Wednesday 27 November 2013 11:56:28 Gilles Caulier wrote:
> Alan, > > Look my screenshot of metadata viewer, especially on top. > > http://www.flickr.com/photos/digikam/11082411096/ > > 328018#c13 > > Will be available on 4.0.0 release (bug #328018 closed)... > > Gilles Caulier _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
2013/11/27 Remco Viëtor <[hidden email]>:
> On Wednesday 27 November 2013 11:56:28 Gilles Caulier wrote: >> Alan, >> >> Look my screenshot of metadata viewer, especially on top. >> >> http://www.flickr.com/photos/digikam/11082411096/ >> >> 328018#c13 >> >> Will be available on 4.0.0 release (bug #328018 closed)... >> >> Gilles Caulier > That's an even nicer solution than an extra button :) > yes, and space is more optimized. If later we need more options, we have plenty of space in drop down menu... Gilles Caulier _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |