-
Notifications
You must be signed in to change notification settings - Fork 22
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
Natural Risk Zones - Validation Error - Conformance Class 'Application Schema, Natural Risk Zones' #397
Comments
Dear @robblis Thanks for opening the issue, we are having more detailed look to the Conformance Class. In the meantime, could you provide us with the GML you are validating? Kind regards |
Dear @carlospzurita I've attached the GML we are trying to validate. Thank you for your help, |
Dear @robblis A fix for this issue has been published on the staging instance. Please, check it out and test if everything is corect. |
We just tested the NZ RiskZone on the staging validator and the test was successful. Thanks for fixing the issue. Robert |
We are looking for some help to resolve a validation error we are getting with our Natural Risk Zones model.
We see the following error dealing with the Risk zone theme-specific requirements.
Check that if a RiskZone is associated with a HazardArea, the RiskZone and the HazardArea shall overlap.
Messages
XML document 'service.xml', RiskZone 'nzRiskZoneS.801': The constraint 'RiskZone and the HazardArea shall overlap' is violated.
When looking at the expression we believe that the following part of the expression is failing...
else if (exists($feature/nz-core:source/@xLink:href) and not(substring($feature/nz-core:source/@xLink:href, 2) = $features_hazard)) then
local:addMessage('TR.constraintViolation', map { 'filename': local:filename($feature), 'featureType': local-name($feature), 'gmlid': string($feature/@*:id), 'constraint': 'RiskZone and the HazardArea shall overlap', 'additionalInfo':''})
Here is the nz-core:source node xml snippet from our GML
<nz-core:source xlink:href="http://myserver.com/arcgis/rest/services/NZTest/MapServer/exts/InspireFeatureDownload/service?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&STOREDQUERY_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&id=nzHazardAreaS.701"/>
We're not sure what the Validator is looking for in this case. Thanks for any help.
The text was updated successfully, but these errors were encountered: