DOI: 10.15468/dl.3j396d
title: Occurrence Download

description: A dataset containing 0 records in GBIF matching the query:
SELECT
 kingdom,
 kingdomkey,
 phylum,
 phylumkey,
 class,
 classkey,
 "order",
 orderkey,
 family,
 familykey,
 genus,
 genuskey,
 species,
 specieskey,
 PRINTF('%04d-%02d', "year", "month") yearmonth,
 GBIF_MGRSCODE(10000, decimallatitude, decimallongitude, 0.0) mgrscellcode,
 COUNT(*) occurrences
FROM
 occurrence
WHERE
 occurrence.basisofrecord = 'HUMAN_OBSERVATION'
 AND occurrence.hascoordinate = TRUE
 AND occurrence.hasgeospatialissues = FALSE
 AND (NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'ZERO_COORDINATE', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_OUT_OF_RANGE', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_ROUNDED', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'GEODETIC_DATUM_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_REPROJECTED', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_REPROJECTION_FAILED', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_REPROJECTION_SUSPICIOUS', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_ACCURACY_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_PRECISION_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_UNCERTAINTY_METERS_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COORDINATE_PRECISION_UNCERTAINTY_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'FOOTPRINT_SRS_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'FOOTPRINT_WKT_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'FOOTPRINT_WKT_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COUNTRY_COORDINATE_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COUNTRY_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'COUNTRY_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'CONTINENT_COORDINATE_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'CONTINENT_COUNTRY_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'CONTINENT_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'PRESUMED_SWAPPED_COORDINATE', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'PRESUMED_NEGATED_LONGITUDE', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'PRESUMED_NEGATED_LATITUDE', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'RECORDED_DATE_MISMATCH', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'RECORDED_DATE_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'RECORDED_DATE_UNLIKELY', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_FUZZY', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_SCIENTIFIC_NAME_ID_IGNORED', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_TAXON_CONCEPT_ID_IGNORED', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_TAXON_ID_IGNORED', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'SCIENTIFIC_NAME_ID_NOT_FOUND', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_CONCEPT_ID_NOT_FOUND', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_ID_NOT_FOUND', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'SCIENTIFIC_NAME_AND_ID_INCONSISTENT', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_NONE', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_NAME_AND_ID_AMBIGUOUS', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'BASIS_OF_RECORD_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'INDIVIDUAL_COUNT_INVALID', TRUE) AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'INDIVIDUAL_COUNT_CONFLICTS_WITH_OCCURRENCE_STATUS', TRUE))
 AND occurrence.license IN ('CC0_1_0', 'CC_BY_4_0')
 AND occurrence.occurrencestatus = 'PRESENT'
 AND GBIF_STRINGARRAYCONTAINS(occurrence.classifications['d7dddbf4-2cf0-4f39-9b2a-bb099caae36c'], '2436441', TRUE)
 AND NOT GBIF_STRINGARRAYCONTAINS(occurrence.issue, 'TAXON_MATCH_FUZZY', TRUE)
 AND (occurrence.distancefromcentroidinmeters &gt;= 2000.0 OR occurrence.distancefromcentroidinmeters IS NULL)
 AND (occurrence.classificationdetails['d7dddbf4-2cf0-4f39-9b2a-bb099caae36c']['specieskey'] &lt;&gt; '' AND occurrence."year" IS NOT NULL AND occurrence."month" IS NOT NULL AND occurrence.hascoordinate = TRUE)
GROUP BY
 occurrence.kingdom,
 occurrence.kingdomkey,
 occurrence.phylum,
 occurrence.phylumkey,
 occurrence.class,
 occurrence.classkey,
 occurrence."order",
 occurrence.orderkey,
 occurrence.family,
 occurrence.familykey,
 occurrence.genus,
 occurrence.genuskey,
 occurrence.species,
 occurrence.specieskey,
 PRINTF('%04d-%02d', occurrence."year", occurrence."month"),
 GBIF_MGRSCODE(10000, occurrence.decimallatitude, occurrence.decimallongitude, 0.0)

 The dataset's 0 records were derived from 0 constituent datasets; see https://api.gbif.org/v1/occurrence/download/0000158-260226173443078/datasets/export for details.