Issue 18264

Add a filter for measurementsOrFacts

Reporter: peterdesmet
Type: Feedback
Summary: Add a filter for measurementsOrFacts
Resolution: Duplicate
Status: Closed
Created: 2016-02-25 12:43:21.603
Updated: 2017-10-06 10:15:30.457
Resolved: 2017-10-06 10:15:30.425
Description: The occurrence search currently does not allow to search for occurrences with linked *measurementOrFacts*. Just like multimedia (which can be searched upon), I think implementing this would allow users to discover a whole treasure of available, but non-discoverable data and be an incentive for data publishers to publish measurementOrFacts information.

* It seems measurementOrFacts information is kinda indexed by GBIF, at least in the verbatim version of an occurrence:
* A first release could be a filter on {{hasMeasurementsOrFacts=True/False}}
* A second release could allow the user to search for types of measurementsOrFacts as free text
* A third release could attempt to interpret the types and standardize these, so one can select from a dropdown of potential values, similar to searching for multimedia types.

BTW, does the multimedia type filter search for multimedia with an unknown type, e.g. those published via {{associatedMedia}}.]]>

Comment: Peter, in the case of dwc:associatedMedia we can only rely on the file URL to interpret the kind of media item. If that URL is pointing to some html page instead of an actual static media file with a wellknown suffix the media type remains unknown. Otherwise we derive the type from the suffix (no http headers Im afraid)
Created: 2016-02-25 14:21:30.806
Updated: 2016-02-25 14:21:30.806

Author: peterdesmet
Comment: @mdoering, I understand. So if you encounter a url where you cannot decipher the media type, what do you do? Will that occurrence be included in a search on media = all:*
Created: 2016-02-25 16:29:16.096
Updated: 2016-02-25 16:29:16.096

Created: 2016-02-26 10:48:08.034
Updated: 2016-02-26 10:48:08.034
good question. Here is a record and a search for an occurrence with an opaque media URL:

When I also add the media ALL filter the record is excluded:*&INSTITUTION_CODE=O

So we exclude these records with unknown media types

Author: peterdesmet
Comment: Since our comments above discuss another issue (no filter for unknown media types), I've created an issue for that: This thread can now be used to discuss the actual topic of this issue: a {{measurementOrFacts}} filter.
Created: 2016-02-26 22:02:31.595
Updated: 2016-02-26 22:02:31.595

Author: hoefft
Comment: moved to
Created: 2017-10-06 10:15:30.454
Updated: 2017-10-06 10:15:30.454