INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
41 stars 22 forks source link

BU2D: horizontalGeometryEstimatedAccuracy (nilReason/uom) #915

Closed Dnoack49 closed 9 months ago

Dnoack49 commented 1 year ago

Dear all,

1.) a description of the steps to reproduce your issue

We have validated the following Buildings-Dataset: https://inspire.brandenburg.de/services/bu_alkis_wfs?service=WFS&version=2.0.0&request=GetFeature&Count=10&typenames=bu-core2d:Building

and receive errors, that Attribute 'uom' must appear on element 'bu-base:horizontalGeometryEstimatedAccuracy'

2.) used browser and version: Firefox Browser 108.0.1 (64-Bit)

3.) a screenshot illustrating the problem grafik

4.) the Test Report Test run on 09 54 - 24.01.2023 with test suite Annex III - Buildings (BU).zip

5.) Name of the Test that failed : The error appears in two conformance classes:

According to the UML-Model the property horizontalGeometryEstimatedAccuracy can be voidable which it is in our dataset:

grafik

The question we have now: is it correct, that the uom-Property is expected for an attribute that has a nilReason-value? I f a value cannot be provided, why should a unit be given? grafik

Kind regards

fabiovinci commented 1 year ago

Dear @Dnoack49,

good question! It seems strange to provide a "uom" for a void element, but this "requirement" comes from the definition of the "MeasureType" data type defined in the BasicType.xsd of the GML specification. Since the "uom" is an attribute of the element it seems it is not possible to make it mandatory in another way.

image

For the moment, you can by-pass the error by providing a dummy value, like:

image