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

Subject:
  AutomaticQA result for: CDDA FME QC Relations
Posted automatically on:
  01 Mar 2019 15:32
Task:
  Automatic quality assessment
Referred file:

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

  All quality checks passed successfully.
  - 1.a Presence test - gml file - OK
  - 1.b Reference test - gml file - OK
  - 2.a Relational test - DesignatedArea link to ProtectedSite - OK
  - 2.b Relational test - ProtectedSite link to DesignatedArea - OK
  - 2.c Relational test - DesignatedArea link to ProtectedSite through LinkedDataset - OK
  - 3. Geometry coherence test - OK
  - 4. Relational test - ProtectedSite link to ended DesignatedArea - OK

  ## 1.a Presence test - gml file

  Tested whether all gml files declared in the [gmlFileName] of the LinkedDataset table are realy present in the envelope.
  Only the gml files identified as INSPIRE Protected Sites gml files are recognized (they must have correct reference to the INSPIRE Protected Sites schema http://inspire.ec.europa.eu/schemas/ps/4.0/ProtectedSites.xsd).

  OK - data passed the test

  ## 1.b Reference test - gml file

  Tested whether all reported INSPIRE Protected Sites gml files are referred to in the LinkedDataset tables.

  OK - data passed the test

  ## 2.a Relational test - DesignatedArea link to ProtectedSite

  Tested whether all valid DesignatedArea records have a corresponding spatial object in the ProtectedSite gml file. In technical terms, each [PSlocalId]-[PSnamespace]-[PSversionId] combination in the DesignatedArea table must be present as a [inspireId].[localId]-[inspireId].[namespace]-[inspireId].[versionId] combination in a ProtectedSite gml file.
  Valid DesignatedArea records are those where siteEnded = false. The [inspireId].[versionId] and [PSversionId] can be left unpopulated.

  OK - data passed the test

  ## 2.b Relational test - ProtectedSite link to DesignatedArea

  Tested whether there are any ProtectedSite spatial objects in the reported gml files that do not have a corresponding valid DesignatedArea record.
  Valid DesignatedArea records are those where siteEnded = false.

  OK - data passed the test

  ## 2.c Relational test - DesignatedArea link to ProtectedSite through LinkedDataset

  Tested whether there are any valid DesignatedArea records that do have a corresponding spatial object in a ProtectedSite gml file, but the gml file is different from the one named in the corresponding LinkedDataset entry.
  Valid DesignatedArea records are those where siteEnded = false.

  OK - data passed the test

  ## 3. Geometry coherence test

  Tested whether all reported ProtectedSite spatial objects linked to the DesignatedArea records, which have positive [siteArea] value, are reported as polygons.

  OK - data passed the test

  ## 4. Relational test - ProtectedSite link to ended DesignatedArea

  Tested whether there are any ProtectedSite spatial objects in the reported gml files that have a corresponding DesignatedArea record marked as ended (siteEnded = true).

  OK - data passed the test