gbif / portal-feedback

User feedback for the GBIF API, website and published data. You can ask questions here. 🗨❓
30 stars 16 forks source link

Problem with IUCN Threat Status Vocabulary #2795

Open pawasowicz opened 4 years ago

pawasowicz commented 4 years ago

Recently, I downloaded a dataset containing a red list of vascular plants for Iceland. I filled the threatStatus according to the vocabulary: http://ipt.ni.is/ipt/manage/vocabulary.do?id=http://rs.gbif.org/vocabulary/iucn/threat_status/ unfortunately species with category: "Not Applicable" and "Regionally Extinct" display an issue "Distribution invalid" see example here https://www.gbif.org/species/164364702 What I am doing wrong? Best wishes Pawel

MattBlissett commented 4 years ago

We didn't support ISO_3166-2:IS for a country, but that seems very reasonable. I've added support to the parsers, @mdoering, is there anything else causing an issue here?

mdoering commented 4 years ago

Every distribution record should have an area specified, either country code but at least free text locality. A threat status without locality is an invalid record. In this case locality=Global would make sense, but there can also be national assesments

MattBlissett commented 4 years ago

I think the issue for this record is we are missing "Regionally Extinct" from the ThreatStatus vocabulary. It's in http://rs.gbif.org/vocabulary/iucn/threat_status.xml but not https://github.com/gbif/gbif-api/blob/gbif-api-0.113/src/main/java/org/gbif/api/vocabulary/ThreatStatus.java

We also don't have "Not applicable".

IUCN themselves use the words "Regionally extinct" on their website and APIs, but I don't know if it's a threat status as such. https://portals.iucn.org/library/node/10315 doesn't list it. Should we add it to the ThreatStatus class, or remove it from the vocabulary and map it to Extinct?

mdoering commented 4 years ago

Doesnt sound like a regionally extinct species is globally extinct, so definitely dont map them

MattBlissett commented 4 years ago

https://github.com/gbif/rs.gbif.org/issues/22 helped me find the documentation for these being regional statuses. I added the missing values to ThreatStatus.java, but (pawasowicz) we need to test and release other software, so the issue will show on the records until then. Your checklist data will show correctly when that's done.