AtlasOfLivingAustralia / biocache-store

Occurrence processing, indexing and batch processing
Other
7 stars 24 forks source link

Relax geospatial kosher rules #376

Closed charvolant closed 4 years ago

charvolant commented 4 years ago

See the discussion in https://github.com/AtlasOfLivingAustralia/biocache-store/issues/375

The new rules for failing geospatial_kosher are essentially clearly bad conditions, without ideas of habitat and acceptable species range.

GEOSPATIAL_ISSUE, TAXONOMIC_ISSUE, ZERO_COORDINATES, COORDINATES_OUT_OF_RANGE, DECIMAL_LAT_LONG_CONVERSION_FAILED, DECIMAL_LAT_LONG_CALCULATION_FROM_VERBATIM_FAILED, DECIMAL_LAT_LONG_CALCULATION_FROM_EASTING_NORTHING_FAILED

patkyn commented 4 years ago

Functional test completed here:

Location test
https://sandbox-test.ala.org.au/ala-hub/occurrences/search?q=data_resource_uid%3Adr14081

Spatially valid
https://sandbox-test.ala.org.au/ala-hub/occurrences/search?q=data_resource_uid%3Adr14081&fq=geospatial_kosher%3Aftrue

Spatially invalid
https://sandbox-test.ala.org.au/ala-hub/occurrences/search?q=data_resource_uid%3Adr14081&fq=geospatial_kosher%3Afalse
Attribution test
https://sandbox-test.ala.org.au/ala-hub/occurrences/search?q=data_resource_uid%3Adr14082