Package org.gbif.api.vocabulary
Enum Class OccurrenceIssue
- All Implemented Interfaces:
Serializable
,Comparable<OccurrenceIssue>
,Constable
,InterpretationRemark
An enumeration of validation rules for single occurrence records.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAge or stage was inferred from a parent rank.The age or stage has to be earlier than the latest.The age or stage provided belongs to another rank.The given collection matches with more than 1 GRSciColl collection.The given institution matches with more than 1 GRSciColl institution.The given basis of record is impossible to interpret or significantly different from the recommended vocabulary.The given collection was fuzzily matched to a GRSciColl collection.The given collection couldn't be matched with any GRSciColl collection.The interpreted occurrence coordinates fall outside of the indicated continent.The interpreted continent and country do not match.The interpreted continent is based on the coordinates, not the verbatim string information.The interpreted continent is based on the country, not the verbatim string information.Uninterpretable continent values found.Deprecated.Coordinate value is given in some form but GBIF is unable to interpret it.Coordinate has a latitude and/or longitude value beyond the maximum (or minimum) decimal value.Indicates an invalid or very unlikely coordinatePrecisionDeprecated.The original coordinate was successfully reprojected from a different geodetic datum to WGS84.The given decimal latitude and longitude could not be reprojected to WGS84 based on the provided datum.Indicates successful coordinate reprojection according to provided datum, but which results in a datum shift larger than 0.1 decimal degrees.Original coordinate modified by rounding to 5 decimals.Indicates an invalid or very unlikely dwc:uncertaintyInMeters.The interpreted occurrence coordinates fall outside of the indicated country.The interpreted country is based on the coordinates, not the verbatim string information.Uninterpretable country values found.Interpreted country for dwc:country and dwc:countryCode contradict each other.Set if supplied minimum depth > maximum depthSet if depth is a non-numeric valueSet if supplied depth is not given in the metric system, for example using feet instead of metersSet if depth is larger than 11,000m or negative.The given owner institution is different than the given institution.Set if supplied minimum elevation > maximum elevationSet if elevation is a non-numeric valueSet if supplied elevation is not given in the metric system, for example using feet instead of metersSet if elevation is above the troposphere (17km) or below 11km (Mariana Trench).The era or erathem don't belong to the eon or eonothem.The earliest eon or eonothem has to be earlier than the latest.The eon or eonothem provided belongs to another rank.The age or stage don't belong to the epoch or series.Epoch or series was inferred from a parent rank.The period or series has to be earlier than the latest.The period or series provided belongs to another rank.The period or system don't belong to the era or erathem.Era or erathem was inferred from a parent rank.The era or erathem has to be earlier than the latest.The era or erathem provided belongs to another rank.The Footprint Spatial Reference System given could not be interpreted.The Footprint Well-Known-Text given could not be interpreted.The Footprint Well-Known-Text conflicts with the interpreted coordinates (Decimal Latitude, Decimal Longitude etc).Indicating that the interpreted coordinates assume they are based on WGS84 datum as the datum was either not indicated or interpretable.The geodetic datum given could not be interpreted.The date given for dwc:georeferencedDate is invalid and can't be interpreted at all.The date given for dwc:georeferencedDate is in the future or before Linnean times (1700).The date given for dwc:dateIdentified is invalid and can't be interpreted at all.The date given for dwc:dateIdentified is in the future or before Linnean times (1700).Example: individual count value > 0, but occurrence status is absent.The individual count value is not a positive integerThe collection matched doesn't belong to the institution matched.The given institution was fuzzily matched to a GRSciColl institution.The given institution couldn't be matched with any GRSciColl institution.An error occurred during interpretation, leaving the record interpretation incomplete.A (partial) invalid date is given for dc:modified, such as a nonexistent date, zero month, etc.The date given for dc:modified is in the future or predates Unix time (1970).An invalid date is given for dc:created of a multimedia object.An invalid URI is given for a multimedia object.Occurrence status was inferred from basis of recordsOccurrence status was inferred from the individual count valueOccurrence status value can't be assigned toOccurrenceStatus
The epoch or series don't belong to the period or system.Period or system was inferred from a parent rank.The period or system has to be earlier than the latest.The period or system provided belongs to another rank.Deprecated.Latitude appears to be negated, e.g.Longitude appears to be negated, e.g.Latitude and longitude appear to be swapped.A (partial) invalid date is given, such as a non-existent date, zero month, etc.The recorded date specified as the eventDate string and the individual year, month, day and/or startDayOfYear, endDayOfYear are contradictory.The recorded date is highly unlikely, falling either into the future or representing a very old date before 1600 thus predating modern taxonomy.An invalid URI is given for dc:references.The scientificName provided in the occurrence record does not precisely match the name in the registered checklist when using the scientificNameID, taxonID or taxonConceptID to look it up.The scientificNameID matched a known pattern, but it was not found in the associated checklist.The given type status contains some words that express uncertainty.The taxonConceptID matched a known pattern, but it was not found in the associated checklist.The taxonID matched a known pattern, but it was not found in the associated checklist.Matching to the taxonomic backbone can only be done on a species level, but the occurrence was in fact considered a broader species aggregate/complex.Matching to the taxonomic backbone can only be done using a fuzzy, non-exact match.Matching to the taxonomic backbone can only be done on a higher rank and not the scientific name.The GBIF Backbone concept was found using the scientificNameID, taxonID or taxonConceptID, but it differs from what would have been found if the classification names on the record were used.Matching to the taxonomic backbone cannot be done because there was no match at all, or several matches with too little information to keep them apart (potentially homonyms).The scientificNameID was not used when mapping the record to the GBIF backbone.The taxonConceptID was not used when mapping the record to the GBIF backbone.The taxonID was not used when mapping the record to the GBIF backbone.The given type status is impossible to interpret or significantly different from the recommended vocabulary.Coordinate is the exact 0°, 0° coordinate, often indicating a bad null coordinate. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<OccurrenceIssue>
All issues that indicate problems with the coordinates and thus should not be shown on maps. -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the identifier of theInterpretationRemark
.Returns the default severity of thisInterpretationRemark
.boolean
Checks if theInterpretationRemark
is deprecated or not.static OccurrenceIssue
Returns the enum constant of this class with the specified name.static OccurrenceIssue[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ZERO_COORDINATE
Coordinate is the exact 0°, 0° coordinate, often indicating a bad null coordinate. -
COORDINATE_OUT_OF_RANGE
Coordinate has a latitude and/or longitude value beyond the maximum (or minimum) decimal value. -
COORDINATE_INVALID
Coordinate value is given in some form but GBIF is unable to interpret it. -
COORDINATE_ROUNDED
Original coordinate modified by rounding to 5 decimals. -
GEODETIC_DATUM_INVALID
The geodetic datum given could not be interpreted. -
GEODETIC_DATUM_ASSUMED_WGS84
Indicating that the interpreted coordinates assume they are based on WGS84 datum as the datum was either not indicated or interpretable. See GEODETIC_DATUM_INVALID. -
COORDINATE_REPROJECTED
The original coordinate was successfully reprojected from a different geodetic datum to WGS84. -
COORDINATE_REPROJECTION_FAILED
The given decimal latitude and longitude could not be reprojected to WGS84 based on the provided datum. -
COORDINATE_REPROJECTION_SUSPICIOUS
Indicates successful coordinate reprojection according to provided datum, but which results in a datum shift larger than 0.1 decimal degrees. -
COORDINATE_ACCURACY_INVALID
Deprecated.Indicates an invalid or very unlikely coordinate accuracy derived from precision or uncertainty in meters. -
COORDINATE_PRECISION_INVALID
Indicates an invalid or very unlikely coordinatePrecision -
COORDINATE_UNCERTAINTY_METERS_INVALID
Indicates an invalid or very unlikely dwc:uncertaintyInMeters. -
COORDINATE_PRECISION_UNCERTAINTY_MISMATCH
Deprecated.There is a mismatch between coordinate uncertainty in meters and coordinate precision. -
FOOTPRINT_SRS_INVALID
The Footprint Spatial Reference System given could not be interpreted. -
FOOTPRINT_WKT_MISMATCH
The Footprint Well-Known-Text conflicts with the interpreted coordinates (Decimal Latitude, Decimal Longitude etc). -
FOOTPRINT_WKT_INVALID
The Footprint Well-Known-Text given could not be interpreted. -
COUNTRY_COORDINATE_MISMATCH
The interpreted occurrence coordinates fall outside of the indicated country. -
COUNTRY_MISMATCH
Interpreted country for dwc:country and dwc:countryCode contradict each other. -
COUNTRY_INVALID
Uninterpretable country values found. -
COUNTRY_DERIVED_FROM_COORDINATES
The interpreted country is based on the coordinates, not the verbatim string information. -
CONTINENT_COORDINATE_MISMATCH
The interpreted occurrence coordinates fall outside of the indicated continent. -
CONTINENT_COUNTRY_MISMATCH
The interpreted continent and country do not match. -
CONTINENT_INVALID
Uninterpretable continent values found. -
CONTINENT_DERIVED_FROM_COUNTRY
The interpreted continent is based on the country, not the verbatim string information. -
CONTINENT_DERIVED_FROM_COORDINATES
The interpreted continent is based on the coordinates, not the verbatim string information. -
PRESUMED_SWAPPED_COORDINATE
Latitude and longitude appear to be swapped. -
PRESUMED_NEGATED_LONGITUDE
Longitude appears to be negated, e.g. 32.3 instead of -32.3 -
PRESUMED_NEGATED_LATITUDE
Latitude appears to be negated, e.g. 32.3 instead of -32.3 -
RECORDED_DATE_MISMATCH
The recorded date specified as the eventDate string and the individual year, month, day and/or startDayOfYear, endDayOfYear are contradictory. -
RECORDED_DATE_INVALID
A (partial) invalid date is given, such as a non-existent date, zero month, etc. -
RECORDED_DATE_UNLIKELY
The recorded date is highly unlikely, falling either into the future or representing a very old date before 1600 thus predating modern taxonomy. -
TAXON_MATCH_FUZZY
Matching to the taxonomic backbone can only be done using a fuzzy, non-exact match. -
TAXON_MATCH_HIGHERRANK
Matching to the taxonomic backbone can only be done on a higher rank and not the scientific name. -
TAXON_MATCH_AGGREGATE
Matching to the taxonomic backbone can only be done on a species level, but the occurrence was in fact considered a broader species aggregate/complex.- See Also:
-
TAXON_MATCH_SCIENTIFIC_NAME_ID_IGNORED
The scientificNameID was not used when mapping the record to the GBIF backbone. This may indicate one of- The ID uses a pattern not configured for use by GBIF
- The ID did not uniquely(!) identify a concept in the checklist
- The ID found a concept in the checklist which did not map to the backbone
- A different ID was used, or the record names were used as no ID lookup successfully linked to the backbone
- See Also:
-
TAXON_MATCH_TAXON_CONCEPT_ID_IGNORED
The taxonConceptID was not used when mapping the record to the GBIF backbone. This may indicate one of- The ID uses a pattern not configured for use by GBIF
- The ID did not uniquely(!) identify a concept in the checklist
- The ID found a concept in the checklist which did not map to the backbone
- A different ID was used, or the record names were used as no ID lookup successfully linked to the backbone
- See Also:
-
TAXON_MATCH_TAXON_ID_IGNORED
The taxonID was not used when mapping the record to the GBIF backbone. This may indicate one of- The ID uses a pattern not configured for use by GBIF
- The ID did not uniquely(!) identify a concept in the checklist
- The ID found a concept in the checklist which did not map to the backbone
- A different ID was used, or the record names were used as no ID lookup successfully linked to the backbone
- See Also:
-
SCIENTIFIC_NAME_ID_NOT_FOUND
The scientificNameID matched a known pattern, but it was not found in the associated checklist. The backbone lookup was performed using either the names or a different ID on the record. This may indicate a poorly formatted identifier or may be caused by a newly created ID that isn't yet known in the version of the published checklist.- See Also:
-
TAXON_CONCEPT_ID_NOT_FOUND
The taxonConceptID matched a known pattern, but it was not found in the associated checklist. The backbone lookup was performed using either the names or a different ID on the record. This may indicate a poorly formatted identifier or may be caused by a newly created ID that isn't yet known in the version of the published checklist.- See Also:
-
TAXON_ID_NOT_FOUND
The taxonID matched a known pattern, but it was not found in the associated checklist. The backbone lookup was performed using either the names or a different ID on the record. This may indicate a poorly formatted identifier or may be caused by a newly created ID that isn't yet known in the version of the published checklist.- See Also:
-
SCIENTIFIC_NAME_AND_ID_INCONSISTENT
The scientificName provided in the occurrence record does not precisely match the name in the registered checklist when using the scientificNameID, taxonID or taxonConceptID to look it up. Publishers are advised to check the IDs are correct, or update the formatting of the names on their records.- See Also:
-
TAXON_MATCH_NONE
Matching to the taxonomic backbone cannot be done because there was no match at all, or several matches with too little information to keep them apart (potentially homonyms). -
TAXON_MATCH_NAME_AND_ID_AMBIGUOUS
The GBIF Backbone concept was found using the scientificNameID, taxonID or taxonConceptID, but it differs from what would have been found if the classification names on the record were used. This may indicate a gap in the GBIF backbone, a poor mapping between the checklist and the backbone, or a mismatch between the classification names and the declared IDs (scientificNameID or taxonConceptID) on the occurrence record itself.- See Also:
-
DEPTH_NOT_METRIC
Set if supplied depth is not given in the metric system, for example using feet instead of meters -
DEPTH_UNLIKELY
Set if depth is larger than 11,000m or negative. -
DEPTH_MIN_MAX_SWAPPED
Set if supplied minimum depth > maximum depth -
DEPTH_NON_NUMERIC
Set if depth is a non-numeric value -
ELEVATION_UNLIKELY
Set if elevation is above the troposphere (17km) or below 11km (Mariana Trench). -
ELEVATION_MIN_MAX_SWAPPED
Set if supplied minimum elevation > maximum elevation -
ELEVATION_NOT_METRIC
Set if supplied elevation is not given in the metric system, for example using feet instead of meters -
ELEVATION_NON_NUMERIC
Set if elevation is a non-numeric value -
MODIFIED_DATE_INVALID
A (partial) invalid date is given for dc:modified, such as a nonexistent date, zero month, etc. -
MODIFIED_DATE_UNLIKELY
The date given for dc:modified is in the future or predates Unix time (1970). -
IDENTIFIED_DATE_UNLIKELY
The date given for dwc:dateIdentified is in the future or before Linnean times (1700). -
IDENTIFIED_DATE_INVALID
The date given for dwc:dateIdentified is invalid and can't be interpreted at all. -
BASIS_OF_RECORD_INVALID
The given basis of record is impossible to interpret or significantly different from the recommended vocabulary. -
TYPE_STATUS_INVALID
The given type status is impossible to interpret or significantly different from the recommended vocabulary. -
SUSPECTED_TYPE
The given type status contains some words that express uncertainty. -
MULTIMEDIA_DATE_INVALID
An invalid date is given for dc:created of a multimedia object. -
MULTIMEDIA_URI_INVALID
An invalid URI is given for a multimedia object. -
REFERENCES_URI_INVALID
An invalid URI is given for dc:references. -
INTERPRETATION_ERROR
An error occurred during interpretation, leaving the record interpretation incomplete. -
INDIVIDUAL_COUNT_INVALID
The individual count value is not a positive integer -
INDIVIDUAL_COUNT_CONFLICTS_WITH_OCCURRENCE_STATUS
Example: individual count value > 0, but occurrence status is absent. -
OCCURRENCE_STATUS_UNPARSABLE
Occurrence status value can't be assigned toOccurrenceStatus
-
OCCURRENCE_STATUS_INFERRED_FROM_INDIVIDUAL_COUNT
Occurrence status was inferred from the individual count value -
OCCURRENCE_STATUS_INFERRED_FROM_BASIS_OF_RECORD
Occurrence status was inferred from basis of records -
GEOREFERENCED_DATE_UNLIKELY
The date given for dwc:georeferencedDate is in the future or before Linnean times (1700). -
GEOREFERENCED_DATE_INVALID
The date given for dwc:georeferencedDate is invalid and can't be interpreted at all. -
AMBIGUOUS_INSTITUTION
The given institution matches with more than 1 GRSciColl institution. -
AMBIGUOUS_COLLECTION
The given collection matches with more than 1 GRSciColl collection. -
INSTITUTION_MATCH_NONE
The given institution couldn't be matched with any GRSciColl institution. -
COLLECTION_MATCH_NONE
The given collection couldn't be matched with any GRSciColl collection. -
INSTITUTION_MATCH_FUZZY
The given institution was fuzzily matched to a GRSciColl institution. This can happen when either the code or the ID don't match or when the institution name is used instead of the code. -
COLLECTION_MATCH_FUZZY
The given collection was fuzzily matched to a GRSciColl collection. This can happen when either the code or the ID don't match or when the collection name is used instead of the code. -
INSTITUTION_COLLECTION_MISMATCH
The collection matched doesn't belong to the institution matched. -
POSSIBLY_ON_LOAN
Deprecated.The given owner institution is different than the given institution. Therefore we assume it could be on loan and we don't link it to the occurrence.Deprecated by
DIFFERENT_OWNER_INSTITUTION
. -
DIFFERENT_OWNER_INSTITUTION
The given owner institution is different than the given institution. Therefore we assume it doesn't belong to the institution and we don't link it to the occurrence. -
ERA_OR_ERATHEM_INFERRED_FROM_PARENT_RANK
Era or erathem was inferred from a parent rank. -
PERIOD_OR_SYSTEM_INFERRED_FROM_PARENT_RANK
Period or system was inferred from a parent rank. -
EPOCH_OR_SERIES_INFERRED_FROM_PARENT_RANK
Epoch or series was inferred from a parent rank. -
AGE_OR_STAGE_INFERRED_FROM_PARENT_RANK
Age or stage was inferred from a parent rank. -
EON_OR_EONOTHEM_RANK_MISMATCH
The eon or eonothem provided belongs to another rank. -
ERA_OR_ERATHEM_RANK_MISMATCH
The era or erathem provided belongs to another rank. -
PERIOD_OR_SYSTEM_RANK_MISMATCH
The period or system provided belongs to another rank. -
EPOCH_OR_SERIES_RANK_MISMATCH
The period or series provided belongs to another rank. -
AGE_OR_STAGE_RANK_MISMATCH
The age or stage provided belongs to another rank. -
EON_OR_EONOTHEM_INVALID_RANGE
The earliest eon or eonothem has to be earlier than the latest. -
ERA_OR_ERATHEM_INVALID_RANGE
The era or erathem has to be earlier than the latest. -
PERIOD_OR_SYSTEM_INVALID_RANGE
The period or system has to be earlier than the latest. -
EPOCH_OR_SERIES_INVALID_RANGE
The period or series has to be earlier than the latest. -
AGE_OR_STAGE_INVALID_RANGE
The age or stage has to be earlier than the latest. -
EON_OR_EONOTHEM_AND_ERA_OR_ERATHEM_MISMATCH
The era or erathem don't belong to the eon or eonothem. -
ERA_OR_ERATHEM_AND_PERIOD_OR_SYSTEM_MISMATCH
The period or system don't belong to the era or erathem. -
PERIOD_OR_SYSTEM_AND_EPOCH_OR_SERIES_MISMATCH
The epoch or series don't belong to the period or system. -
EPOCH_OR_SERIES_AND_AGE_OR_STAGE_MISMATCH
The age or stage don't belong to the epoch or series.
-
-
Field Details
-
GEOSPATIAL_RULES
All issues that indicate problems with the coordinates and thus should not be shown on maps.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
Description copied from interface:InterpretationRemark
Returns the identifier of theInterpretationRemark
. This is normally implemented to return the result ofEnum.name()
. Potential name clashes are detected by unit tests.- Specified by:
getId
in interfaceInterpretationRemark
- Returns:
- identifier of the
InterpretationRemark
. Never null.
-
getRelatedTerms
Description copied from interface:InterpretationRemark
- Specified by:
getRelatedTerms
in interfaceInterpretationRemark
- Returns:
Set
ofTerm
or emptySet
. Never null.
-
getSeverity
Description copied from interface:InterpretationRemark
Returns the default severity of thisInterpretationRemark
. Severity can be relative to the context and profile. ThisInterpretationRemarkSeverity
should be seen as the default severity in the general context of interpretation.- Specified by:
getSeverity
in interfaceInterpretationRemark
- Returns:
- default severity of this
InterpretationRemark
. Never null.
-
isDeprecated
Description copied from interface:InterpretationRemark
Checks if theInterpretationRemark
is deprecated or not.- Specified by:
isDeprecated
in interfaceInterpretationRemark
- Returns:
- true if the
InterpretationRemark
is marked with @Deprecated.
-