INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
42 stars 23 forks source link

Problem with Land Cover Vector Dataset validation #1045

Open fanenji opened 8 months ago

fanenji commented 8 months ago

Hi.

I'm having problems validating a GML dataset.

The Validator report an error during the "lc-gml.a.1: Land Cover feature in dataset" test: "The XML documents representing the spatial data set do not contain a feature of any of the spatial object types in the 'Land Cover' application schemas. Therefore, the spatial data set cannot conform to this conformance class. If you have expected to find spatial objects from the application schema in the data set, please consult the statistics information to see the spatial object types that have been found." Here's the Assertion URI: https://yzyiqfakm4.execute-api.eu-west-1.amazonaws.com/validator/v2/TestRuns/EID485f2634-2703-433e-a6af-31b69fe0780f.html?lang=it#EID45eded70-96d9-44df-aa18-d257679acf19

The same file was deemed valid when tested before, namely last november.

I attach the zipped GML file, and the report made last year.

LC_Regione_Liguria_parziale_per_validazione.zip

Test run on 11 26 - 28.11.2023 with test suite Annex II - Land Cover (LC).html.zip

fabiovinci commented 8 months ago

Dear @fanenji,

I looked at your dataset and although it refers to version 4 of the LandCoverVector application schema (the latest official version is 5.0) it should pass the "lc-gml.a.1: Land Cover feature in dataset" test.

We will analyze the reason for the test failure and let you know.

MaiteZabaltza commented 8 months ago

Dear @fanenji and @fabiovinci,

I was recently testing some LC datasets and the same issue occurred to me. After realising that version 5 of the schema was used in the validation I modified my dataset to follow the v5.0 schema and validated one more time. However, some of the tests regarding the general requirements returned a fail in the second round, which wasn't the case in the first place. I identified that depending on the validation test reference to schema 4 and schema 5 appeared in the report. Could you advise which schema should be used in the transformation?

Thank your very much in advance.

fabiovinci commented 8 months ago

Dear @MaiteZabaltza,

I confirm that the official schema is now version 5.

If you have come across any references to version 4, please let us know so we can make the necessary corrections.

Additionally, you may send us the gml file if you prefer, and we will take a look at it.

camilgg commented 7 months ago

Hello! I am having problems trying to validate a land cover vector dataset. The following error appears ‘The geometries of the LandCoverUnit feature types are points or surfaces’ is violated. In my input I have geometries as polygons and multipolygons. I acknowledge that multipolygons are not compatible for this theme, only surfaces or polygons are allowed. Do you know if multipolygons will be allow in the future for this theme? Or do you know any way to fix the multipolygon issue? Thank your very much in advance.

fabiovinci commented 7 months ago

Dear @camilgg,

the geometry constraint is defined by the Implementing rule (Commission Regulation (EU) No 1089/2010 of 23 November 2010 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards interoperability of spatial data sets and services), so any change proposal if approved will require time for the implementation.

You should convert geometries in your dataset from multi-polygon to single-polygon.

apfelnymous commented 2 months ago

Hi, I experience several errors after switching to Landcover 5.0 Test run on 14_21 - 28.08.2024 with test suite Annex II - Land Cover (LC).html.zip

fabiovinci commented 2 months ago

Dear @apfelnymous,

it seems the error is due to a wrong declaration of the http://inspire.ec.europa.eu/schemas/lcn/4.0 namespace.

Could you please provide a sample dataset so we can take a look?

apfelnymous commented 2 months ago

@fabiovinci The test sample dataset in question is this one: Landcover50_Invekos_RS_test.zip

I simply imported the LC vector 5.0 schema from the presets in hale studio