Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Land Cover Vector Dataset validation #1045

Open
fanenji opened this issue Mar 11, 2024 · 5 comments
Open

Problem with Land Cover Vector Dataset validation #1045

fanenji opened this issue Mar 11, 2024 · 5 comments

Comments

@fanenji
Copy link

fanenji commented Mar 11, 2024

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

@github-actions github-actions bot added this to To do in Validator issues Mar 11, 2024
@fabiovinci fabiovinci self-assigned this Mar 15, 2024
@fabiovinci
Copy link
Collaborator

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
Copy link

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
Copy link
Collaborator

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
Copy link

camilgg commented Apr 24, 2024

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

6 participants