# Feedbacks for envelope AutomaticQA result for: CDDA FME QC Type1

Subject:
  AutomaticQA result for: CDDA FME QC Type1
Posted automatically on:
  27 Apr 2018 11:28
Task:
  Automatic quality assessment
Referred file:

  ## The following Type 1 data tests were performed against the CDDA delivery in http://cdr.eionet.europa.eu/lu/eea/cdda1/envwuhj8q

  All quality checks passed successfully.
  - 1. Mandatory values test - ProtectedSite - OK
  - 2. Uniqueness test - ProtectedSite - OK
  - 3. Coordinate reference system test - OK
  - 4. Geometry validity test - OK
  - 5. Positional check - OK
  - 6. Format test - legalFoundationDate - OK
  - 7. Range test - legalFoundationDate - OK

  ## 1. Mandatory values test - ProtectedSite

  Tested the presence of mandatory values - [geometry], [localId], [namespace], [siteName].

  OK - data passed the test

  ## 2. Uniqueness test - ProtectedSite

  Tested uniqueness of the ProtectedSite features across all delivery files. The combination of [localId] and [namespace] values in the [inspireID].[Identifier] must be unique for each ProtectedSite feature in all files. No multiplicities can exist.
  Only the latest version of the ProtectedSite feature is expected in the delivery, thus [versionId] value is not considered, and multiple versions of the same feature are treated as blocking errors.

  OK - data passed the test

  ## 3. Coordinate reference system test

  Tested whether all ProtectedSite features use correctly encoded and valid coordinate reference systems (CRS).

  - Correctly encoded SRS starts with 'urn:ogc:def:crs:EPSG::'
  - Allowed CRS are EPSG:3035 and EPSG:4258.
  OK - data passed the test

  ## 4. Geometry validity test

  Tested validity of the reported ProtectedSite features geometries.

  OK - data passed the test

  ## 5. Positional check

  Tested position of the reported ProtectedSite features against the European reference boundaries of the reported country.
  The European reference boundary is EuroBoundaryMap v11 from Eurogeographics. The dataset has a resolution of 1:100 000. A buffer of 1 km has been added to the reference boundaries to remove minor mismatches in spatial scale between national scale boundary data and the European reference.
  Note: Detected features where DistanceFromNearestBoundary(km) = 0 are only partly located outside the 1 km buffer added to the European reference boundary.

  OK - data passed the test

  ## 6. Format test - legalFoundationDate

  Tested whether the [legalFoundationDate] is reported, follows the requested format (YYYY-MM-DDThh:mm:ssZ) and whether it's a valid DateTime.

  OK - data passed the test

  ## 7. Range test - legalFoundationDate

  Tested whether the YEAR in the reported [legalFoundationDate] values is valid and in the defined range (from 1800 to current year)
  For the purpose of the testing, the YEAR is the 4 leftmost characters of the [legalFoundationDate] value.

  OK - data passed the test