biodiversitydata-se / SBDI4R

R package to search and access data made available through the Swedish biodiversity data infrastructure SBDI
https://biodiversitydata-se.github.io/SBDI4R/
GNU Affero General Public License v3.0
1 stars 2 forks source link

search for species observations using coordinate accuracy #20

Closed DeboraArlt closed 3 years ago

DeboraArlt commented 3 years ago

is part of #18

Current ALA4R has no such a priori selection (can only specify specific field values of form "indexedfield:value" to match with but no "larger than" or "smaller than"), user has to filter subsequently. User wants to a priory select data by minimum accuracy of the coordinates.

Field for coordinate accuracy needs to be included in the SOLR index, current bioatlas SOLR scheme: https://github.com/bioatlas/ala-docker/blob/develop/solr7/mycores/biocache/conf/schema.xml

DeboraArlt commented 3 years ago

comment by Manash:

The indexed fields can be accessed here

https://records.bioatlas.se/ws/index/fields?isMisc=false

Check out the following fields

coordinatePrecision
coordinatePrecision_p
coordinateUncertaintyInMeters
coordinateUncertaintyInMeters_p

The suffix _p means that the field holds a processed value.

DeboraArlt commented 3 years ago

comment by Sophia Ratcliffe:

An example of this type of query on the NBN: https://records.nbnatlas.org/occurrences/search?q=*%3A*&fq=coordinate_uncertainty:[1%20TO%2010]#tab_mapView

aleruete commented 3 years ago

this is possible with the search filters