bdq icon indicating copy to clipboard operation
bdq copied to clipboard

TG2-VALIDATION_DECIMALLATITUDE_INRANGE

Open iDigBioBot opened this issue 7 years ago • 5 comments

TestField Value
GUID b6ecda2a-ce36-437a-b515-3ae94948fe83
Label VALIDATION_DECIMALLATITUDE_INRANGE
Description Is the value of dwc:decimalLatitude a number between -90 and 90 inclusive?
TestType Validation
Darwin Core Class dcterms:Location
Information Elements ActedUpon dwc:decimalLatitude
Information Elements Consulted
Expected Response INTERNAL_PREREQUISITES_NOT_MET if dwc:decimalLatitude is bdq:Empty or the value is not interpretable as a number; COMPLIANT if the value of dwc:decimalLatitude is between -90 and 90, inclusive; otherwise NOT_COMPLIANT
Data Quality Dimension Conformance
Term-Actions DECIMALLATITUDE_INRANGE
Parameter(s)
Source Authority
Specification Last Updated 2023-09-18
Examples [dwc:decimalLatitude="0.0": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:decimalLatitude is in RANGE"]
[dwc:decimalLatitude="121.0534": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:decimalLatitude is in not in RANGE"]
Source ALA, GBIF, OBIS
References
  • Chapman AD and Wieczorek JR (2020) Georeferencing Best Practices. Copenhagen: GBIF Secretariat. https://doi.org/10.15468/doc-gg7h-s853
Example Implementations (Mechanisms)
Link to Specification Source Code
Notes

iDigBioBot avatar Jan 05 '18 15:01 iDigBioBot

Comment by Paula Zermoglio (@pzermoglio) migrated from spreadsheet: Idem, order matters, useful AFTER interpretation of verbatim if no decimalLat and decimaLong were provided.

iDigBioBot avatar Jan 05 '18 15:01 iDigBioBot

In the light of recent comments, changed the Expected Response to

INTERNAL_PREREQUISITES_NOT_MET if dwc:decimalLatitude is EMPTY or the value is not interpretable as a number; COMPLIANT if the value of dwc:decimalLatitude is between -90 and 90 degrees, inclusive; otherwise NOT_COMPLIANT

Tasilee avatar Mar 03 '22 04:03 Tasilee

I believe the word "degrees" should be removed from - the value is a number between -90 and 90, not "-90 and 90 degrees"

| Expected Response | INTERNAL_PREREQUISITES_NOT_MET if dwc:decimalLatitude is EMPTY or the value is not interpretable as a number; COMPLIANT if the value of dwc:decimalLatitude is between -90 and 90 degrees, inclusive; otherwise NOT_COMPLIANT |

ArthurChapman avatar Mar 25 '22 03:03 ArthurChapman

Removed the word "degrees" from COMPLIANT

ArthurChapman avatar Mar 26 '22 01:03 ArthurChapman

Splitting bdqffdq:Information Elements into "Information Elements ActedUpon" and "Information Elements Consulted".

Also changed "Field" to "TestField", "Output Type" to "TestType" and updated "Specification Last Updated"

Tasilee avatar Sep 18 '23 02:09 Tasilee