-
Notifications
You must be signed in to change notification settings - Fork 24
Description
For my watercourse-object (hy-p) I get the following error in the validator: "The constraint 'A condition attribute may be specified only for a man-made watercourse.' is violated. " (see also screenshot below).
I have a watercourse object which corresponds to an man-made watercourse. I have stored the code list value for man-made in the origin-attribute.
I would also like to store a condition attribute. The condition attribute is constrained so that it can only be specified if man-made has been set as the origin. This condition is fulfilled in my dataset, but I still get an error in the validator (see screenshot). How is this possible? How must 'man-made' be specified correctly?
That is how my gml-file (with only one exmaple object) looks like:
<?xml version="1.0" ?> <wfs:FeatureCollection xmlns:hy="http://inspire.ec.europa.eu/schemas/hy/5.0" xmlns:hy-p="http://inspire.ec.europa.eu/schemas/hy-p/5.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gn="http://inspire.ec.europa.eu/schemas/gn/4.0" xmlns:base="http://inspire.ec.europa.eu/schemas/base/4.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:ns1="http://www.w3.org/1999/xhtml" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:gsr="http://www.isotc211.org/2005/gsr" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:ns2="http://inspire.ec.europa.eu/schemas/base/3.3" xmlns:hy-n="http://inspire.ec.europa.eu/schemas/hy-n/4.0" xmlns:sr="http://inspire.ec.europa.eu/schemas/sr/4.0" xmlns:net="http://inspire.ec.europa.eu/schemas/net/4.0" xmlns:ns3="http://inspire.ec.europa.eu/schemas/hy/4.0" xmlns:ns4="http://inspire.ec.europa.eu/schemas/hy-p/4.0" xmlns:sc="http://www.interactive-instruments.de/ShapeChange/AppInfo" xmlns:omor="http://inspire.ec.europa.eu/schemas/omor/3.0" xmlns:omop="http://inspire.ec.europa.eu/schemas/omop/3.0" xmlns:om="http://www.opengis.net/om/2.0" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wfs="http://www.opengis.net/wfs/2.0" xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/hy-p/5.0 https://inspire.ec.europa.eu/schemas/hy-p/5.0/HydroPhysicalWaters.xsd http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd" numberMatched="1246" numberReturned="1246" timeStamp="2025-05-20T11:05:11.336+02:00"> <wfs:member> <hy-p:Watercourse gml:id="Watercourse_DEHE046200009SaP"> <gml:identifier codeSpace="http://inspire.ec.europa.eu/ids">https://registry.gdi-de.org/id/de.____/Watercourse_DEHE046200009SaP</gml:identifier> <hy-p:geographicalName nilReason="unknown" xsi:nil="true"></hy-p:geographicalName> <hy-p:hydroId> <hy:HydroIdentifier> <hy:localId>Watercourse_2585196XXXXXXXXXX</hy:localId> <hy:namespace>https://registry.gdi-de.org/id/de.____/</hy:namespace> </hy:HydroIdentifier> </hy-p:hydroId> <hy-p:beginLifespanVersion>2018-12-03T12:07:14Z</hy-p:beginLifespanVersion> <hy-p:geometry> <gml:Polygon srsName="http://www.opengis.net/def/crs/EPSG/0/4258" srsDimension="2"> <gml:exterior> <gml:LinearRing> <gml:posList>50.550525408573874 8.413152850922353 50.55056724035538 8.413198263138380 50.550623884111669 8.41310626148196 50.5511613077928 8.412069151897912 50.551166899511264 8.411990359752952 50.55119052384367 8.411657177958752 50.550534192958885 8.412940107602894 50.55049237933087 8.413105282772764 50.550525408573873 8.413152850922357</gml:posList> </gml:LinearRing> </gml:exterior> </gml:Polygon> </hy-p:geometry> <hy-p:inspireId> <base:Identifier> <base:localId>Watercourse_DEHE046200009XXX</base:localId> <base:namespace>https://registry.gdi-de.org/id/de.____/</base:namespace> </base:Identifier> </hy-p:inspireId> <hy-p:localType> <gmd:LocalisedCharacterString>Kanal</gmd:LocalisedCharacterString> </hy-p:localType> <hy-p:origin xlink:href="http://inspire.ec.europa.eu/codelist/OriginValue/manMade" xlink:title="manMade"></hy-p:origin> <hy-p:persistence xlink:href="http://inspire.ec.europa.eu/codelist/HydrologicalPersistenceValue/perennial"></hy-p:persistence> <hy-p:tidal>false</hy-p:tidal> <hy-p:drainsBasin nilReason="other:unpopulated" xsi:nil="true"></hy-p:drainsBasin> <hy-p:condition xlink:href="http://inspire.ec.europa.eu/codelist/ConditionOfFacilityValue/functional"></hy-p:condition> <hy-p:delineationKnown>true</hy-p:delineationKnown> <hy-p:length uom="m" nilReason="unknown" xsi:nil="true"></hy-p:length> <hy-p:level nilReason="other:unpopulated" xsi:nil="true"></hy-p:level> <hy-p:width nilReason="unknown" xsi:nil="true"></hy-p:width> </hy-p:Watercourse> </wfs:member> </wfs:FeatureCollection>
Metadata
Metadata
Assignees
Labels
Type
Projects
Status