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

Natural Risk Zones geometry validation #25

Open
kalxas opened this issue Jan 14, 2022 · 1 comment
Open

Natural Risk Zones geometry validation #25

kalxas opened this issue Jan 14, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@kalxas
Copy link
Member

kalxas commented Jan 14, 2022

After trying to validate a multipolygon gml with INSPIRE validator we get the following problem:

image

Then we break multipolygons to simple polygons and get this error:

image

@kalxas
Copy link
Member Author

kalxas commented Jan 14, 2022

The last issue is fixed when we replace the following in the GML header:

<?xml version="1.0" ?>
<gml:FeatureCollection xmlns:ns1="http://www.w3.org/1999/xhtml" xmlns:gn="urn:x-inspire:specification:gmlas:GeographicalNames:3.0" xmlns:gss="http://www.isotc211.org/2005/gss" xmlns:tn-a="urn:x-inspire:specification:gmlas:AirTransportNetwork:3.0" xmlns:stat="urn:x-inspire:specification:gmlas:StatisticalUnits:0.0" xmlns:sc="http://www.interactive-instruments.de/ShapeChange/AppInfo" xmlns:gsr="http://www.isotc211.org/2005/gsr" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:base="http://inspire.ec.europa.eu/schemas/base/3.3" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:au="urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:cp="urn:x-inspire:specification:gmlas:CadastralParcels:3.0" xmlns:tn="urn:x-inspire:specification:gmlas:CommonTransportElements:3.0" xmlns:nz-core="http://inspire.ec.europa.eu/schemas/nz-core/3.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:ns2="urn:x-inspire:specification:gmlas:BaseTypes:3.2" xmlns:bui="urn:x-inspire:specification:gmlas:Buildings:0.0" xmlns:ad="urn:x-inspire:specification:gmlas:Addresses:3.0" xmlns:ef="http://inspire.ec.europa.eu/schemas/ef/3.0" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:net="urn:x-inspire:specification:gmlas:Network:3.2" xmlns:om="http://www.opengis.net/om/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/1.0" xmlns:gts="http://www.isotc211.org/2005/gts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/nz-core/3.0 http://inspire.ec.europa.eu/schemas/nz-core/3.0/NaturalRiskZonesCore.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/deprecatedTypes.xsd">

with

<?xml version="1.0" ?>
<gml:FeatureCollection xmlns:sc="http://www.interactive-instruments.de/ShapeChange/AppInfo" xmlns:ef="http://inspire.ec.europa.eu/schemas/ef/4.0" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/2.0" xmlns:nz-core="http://inspire.ec.europa.eu/schemas/nz-core/4.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:base="http://inspire.ec.europa.eu/schemas/base/3.3" 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:ad="http://inspire.ec.europa.eu/schemas/ad/4.0" xmlns:au="http://inspire.ec.europa.eu/schemas/au/4.0" xmlns:gn="http://inspire.ec.europa.eu/schemas/gn/4.0" xmlns:bu-base="http://inspire.ec.europa.eu/schemas/bu-base/4.0" xmlns:tn="http://inspire.ec.europa.eu/schemas/tn/4.0" xmlns:cp="http://inspire.ec.europa.eu/schemas/cp/4.0" xmlns:net="http://inspire.ec.europa.eu/schemas/net/4.0" xmlns:om="http://www.opengis.net/om/2.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/nz-core/4.0 http://inspire.ec.europa.eu/schemas/nz-core/4.0/NaturalRiskZonesCore.xsd http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/deprecatedTypes.xsd">

@kalxas kalxas added the bug Something isn't working label Jan 14, 2022
@kalxas kalxas removed their assignment Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants