Re: Sensitive records
I’ve been thinking that we should add a sensitive flag to the occurrence table, at the very least this would let people contribute records and tick the sensitive box so they don’t appear in any public reports (or we can ensure the resolution is reduced).
We may need a more complex solution than this but it would be a good start. E.g. we might want to make records sensitive if they are for a particular species or record type (e.g. a nest is sensitive, not a bird flying past). And this may also have a geographical filter. One idea might be to implement something like the triggers and notifications, where reports are defined to select new occurrences which meet certain criteria except in this case they get auto-tagged as sensitive. Or we could create a "sensitivity criteria" table which has the following structure:
id
taxon_meaning_key
external_key (for taxon - identifies a TVK)
designation
record_type_term_meaning_id (identifies the record type which is sensitive in which case we would have to add record_type_term_id to occurrence)
survey_id
website_id
geom (defines a polygon)
This would let a "sensitivity criterion" to be defined using any combination of species, designation, record type, survey, client website and geographic area. E.g. all nests could be marked as senstive by adding a row with just the record_type_term_meaning_id set to nest. Or a species could be defined as sensitive in a region by setting the external_key to the TVK, and setting a polygon for the region in the geom field.
In which case it may make sense to separate sensitive into 2 flags to differentiate between records the user contributed but wished to keep from public view, and records which are identified as sensitive by the system. Then the system criteria can be refined without affecting the user's choice.
Any thoughts on this would be much appreciated.
Biodiverse IT