bdq icon indicating copy to clipboard operation
bdq copied to clipboard

TG2-VALIDATION_LOCATION_NOTEMPTY

Open iDigBioBot opened this issue 7 years ago • 11 comments

TestField Value
GUID 58486cb6-1114-4a8a-ba1e-bd89cfe887e9
Label VALIDATION_LOCATION_NOTEMPTY
Description Is there a value in any of the Darwin Core spatial terms that could specify a location?
TestType Validation
Darwin Core Class dcterms:Location
Information Elements ActedUpon dwc:higherGeographyID
dwc:higherGeography
dwc:continent
dwc:country
dwc:countryCode
dwc:stateProvince
dwc:county
dwc:municipality
dwc:waterBody
dwc:island
dwc:islandGroup
dwc:locality
dwc:locationID
dwc:verbatimLocality
dwc:decimalLatitude
dwc:decimalLongitude
dwc:verbatimCoordinates
dwc:verbatimLatitude
dwc:verbatimLongitude
dwc:footprintWKT
Information Elements Consulted
Expected Response COMPLIANT if at least one term needed to determine the location of the entity exists and is bdq:NotEmpty; otherwise NOT_COMPLIANT
Data Quality Dimension Completeness
Term-Actions LOCATION_NOTEMPTY
Parameter(s)
Source Authority
Specification Last Updated 2023-09-18
Examples [dwc:locationID="https://opencontext.org/subjects/e54377f7-4452-4315-b676-40679b10c4d9", dwc:higherGeographyID="", dwc:higherGeography="", dwc:continent="", dwc:waterBody="", dwc:islandGroup="", dwc:island="", dwc:country="", dwc:countryCode="", dwc:stateProvince="", dwc:county="", dwc:municipality="", dwc:locality="", dwc:verbatimLocality="", dwc:decimalLatitude="", dwc:decimalLongitude="", dwc:coordinateUncertaintyInMeters="", dwc:geodeticDatum="", dwc:verbatimCoordinates="", dwc:verbatimLatitude="", dwc:verbatimLongitude="", dwc:footprintWKT="": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:LocationID is bdq:NotEmpty"]
[dwc:locationID="", dwc:higherGeographyID="", dwc:higherGeography="", dwc:continent="", dwc:waterBody="", dwc:islandGroup="", dwc:island="", dwc:country="", dwc:countryCode="", dwc:stateProvince="", dwc:county="", dwc:municipality="", dwc:locality="", dwc:verbatimLocality="", dwc:decimalLatitude="", dwc:decimalLongitude="", dwc:coordinateUncertaintyInMeters="", dwc:geodeticDatum="", dwc:verbatimCoordinates="", dwc:verbatimLatitude="", dwc:verbatimLongitude="", dwc:footprintWKT="": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="All location fields are bdq:Empty"]
Source Lee Belbin
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 Only fails if all of the relevant fields of the Darwin Core Location class are EMPTY or do not exist. Relevant Darwin Core fields include dwc:locationID, dwc:higherGeographyID, dwc:higherGeography, dwc:continent, dwc:waterBody, dwc:islandGroup, dwc:island, dwc:country, dwc:countryCode, dwc:stateProvince, dwc:county, dwc:municipality, dwc:locality, dwc:verbatimLocality, dwc:decimalLatitude, dwc:decimalLongitude, dwc:verbatimCoordinates, dwc:verbatimLatitude, dwc:verbatimLongitude, dwc:footprintWKT. Elevation and/or depth alone are deemed insufficient to meaningfully locate a position on the earth.

iDigBioBot avatar Jan 05 '18 15:01 iDigBioBot

Comment by Paula Zermoglio (@pzermoglio) migrated from spreadsheet: I believe DwC terms should include some more, e.g., island, islandGroup, waterbody, county, municipality, continent, countryCode.

iDigBioBot avatar Jan 05 '18 15:01 iDigBioBot

This is a complicated test - needs more work to document. Not georeferenced or not georeferenceable.. Need to add many dwc:terms. If all relevant spatial terms are blank or uninterpretable.

ArthurChapman avatar Jan 16 '18 17:01 ArthurChapman

Extensive discussion in the meeting - has georeference or is georeferencable is one possible interpretation, but a very complex one to implement, and supported by other more granular tests. We decided to constrain this test to a simple test of minimal presence of some sort of spatial data.

chicoreus avatar Jan 16 '18 19:01 chicoreus

Going through the test data, I'm wondering if

dwc:minimumElevationInMeters dwc:maximumElevationInMeters dwc:minimumDepthInMeters dwc:maximumDepthInMeters

should be included in Information Elements? @tucotuco did include the terms in the test data and some were NOT_EMPTY

Tasilee avatar Feb 14 '22 03:02 Tasilee

I don't think I'd include them - except for a few minor exceptions, you can't tell a location on those alone.

ArthurChapman avatar Feb 14 '22 04:02 ArthurChapman

I agree from the perspective of a test for usable location information based on the Expected Response, "at least one term needed to determine the location of the entity."

tucotuco avatar Feb 16 '22 20:02 tucotuco

OK. I've removed references to the depth and elevation terms from the test data.

Tasilee avatar Feb 20 '22 21:02 Tasilee

I suggest the Description:

'Is there a value in any of the Darwin Core spatial terms that could specify a location?'

in place of:

'Is there a value in any of the Darwin Core spatial terms that could identify a location?'

tucotuco avatar Mar 31 '22 01:03 tucotuco

Changed note to add the "dwc:" namespace to all the Darwin Core terms cited.

ArthurChapman avatar Jun 28 '23 01:06 ArthurChapman

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

Also changed "Fields" to TestFields" and "Output Type" to "TestType", and will go back and add these to prior changes and then work forward

Tasilee avatar Sep 16 '23 04:09 Tasilee

Changed all Information Elements to "ActedUpon" as per Paul's Java Code

Tasilee avatar Sep 18 '23 01:09 Tasilee