gbif / gbif-api

GBIF API
Apache License 2.0
27 stars 5 forks source link

Interpretation remarks on Occurrence for absence of taxa, coordinates or date #11

Open cgendreau opened 7 years ago

cgendreau commented 7 years ago

This is a discussion to harmonize how we handle absence of data for taxa coordinates and date on Occurrence records.

Currently it is different in all 3 cases:

mdoering commented 7 years ago

As all 3 are key properties of an occurrence, the who where when, Id propose to flag proper issues for that in all 3 cases.

How about TAXON/DATE/COORDINATE_MISSING?

Alternatively no issue but a way to search for NULL would be solving spotting those records at least. The Has_coordinate parameter always felt weitd and artificial

cgendreau commented 7 years ago

This is (_MISSING) around what @MortenHofft suggested in https://github.com/gbif/portal-feedback/issues/45.

I think the has_coordinate is still useful since we can not search with a negation (e.g. NOT COORDINATE_MISSING).

mdoering commented 7 years ago

I wonder if we can support negation though. It is part of dataset and species freetext queries already: http://api.gbif.org/v1/dataset/search?q=!bird

mdoering commented 7 years ago

not coordinate missing = lat is not null: also sth we cannot search for currently as there is no query for (not) NULL