For example, occurrence records with values in one of the GeologicalContext fields (specifically the chronostratigraphy fields) can be retrieved ('from' and 'to' does not matter):
We can also use wildcards. In these cases, the first parameter is the earliest and the second is the latest. E.g.: this goes from the earliest time till Ediacaran:
The idea was to have one search field for geological time, however, perhaps it would be better if we could support that users could search on concepts (multivalue) in one search bar with suggestions as you type + having a range with a 'to' and 'from' search bar with suggestions as you type, but only one value allowed in each search bar.
Ranged queries are now supported for the GeoTime vocabulary.
For example, occurrence records with values in one of the GeologicalContext fields (specifically the chronostratigraphy fields) can be retrieved ('from' and 'to' does not matter):
https://api.gbif-uat.org/v1/occurrence/search?geologicaltime=Siderian,Ediacaran https://api.gbif-uat.org/v1/occurrence/search?geologicaltime=Ediacaran,Siderian
Be aware of the following result when searching for a concept that is nested in another concept: https://api.gbif-uat.org/v1/occurrence/search?geologicaltime=Paleogene,Cenozoic
We can also use wildcards. In these cases, the first parameter is the earliest and the second is the latest. E.g.: this goes from the earliest time till Ediacaran:
https://api.gbif-uat.org/v1/occurrence/search?geologicaltime=*,Ediacaran and this goes from Ediacaran till now: https://api.gbif-uat.org/v1/occurrence/search?geologicaltime=Ediacaran,*
The idea was to have one search field for geological time, however, perhaps it would be better if we could support that users could search on concepts (multivalue) in one search bar with suggestions as you type + having a range with a 'to' and 'from' search bar with suggestions as you type, but only one value allowed in each search bar.
Do this suggestion make sense, please?