Support #3571

CY: INSPIRE Download Service Protected Sites

Added by Antonis Papantoniou over 1 year ago. Updated about 1 year ago.

Status:FeedbackStart date:18 Apr 2019
Priority:NormalDue date:
Assignee:Angelo Quaglia% Done:

0%

Category:Geoportal Services
Target version:-
Submitting Organisation:DLS Knowledge-Base relevant?:No
Proactive:No Keyword #1:
Country:CY - Cyprus Keyword #2:
Originating UI: Keyword #3:

Description

We have upgraded our ArcGIS for INSPIRE software from 10.3.1 to 10.6.1. After validating our INSPIRE Download services, regarding Protected Sites, when consuming the corresponding download service https://weba.dls.moi.gov.cy/arcgis/rest/services/INSPIRE/PS_ProtectedSites/MapServer/exts/InspireFeatureDownload/service

using parameters:

Version: 2.0.0

Service: WFS

Request: getFeature

TYPENAMES: ps:ProtectedSites

we get the below response:

<?xml version="1.0" encoding="ISO-8859-1"?>

<ExceptionReport version="2.0.0" xmlns="http://www.opengis.net/ows/1.1"> <Exception locator="TYPENAMES" exceptionCode="InvalidParameterValue"> <ExceptionText><![CDATA[

]]></ExceptionText> <ExceptionText><![CDATA[

]]></ExceptionText> </Exception>

</ExceptionReport>

We suspect that we might need to make a change in the corresponding StoreQuery for this Service regarding the schema version. The StoreQuery definition is as below:

<?xml version="1.0" encoding="utf-8"?>
<DescribeStoredQueriesResponse xmlns="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://weba.dls.moi.gov.cy/arcgis/rest/directories/arcgisforinspire/schema/ogc/wfs/2.0/wfs.xsd">
<wfs:StoredQueryDescription  xmlns="http://www.interactive-instruments.de/namespaces/XtraServer" xmlns:ad="urn:x-inspire:specification:gmlas:Addresses:3.0" xmlns:au="urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0" xmlns:base="urn:x-inspire:specification:gmlas:BaseTypes:3.2" xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/1.0" xmlns:base33="http://inspire.ec.europa.eu/schemas/base/3.3" xmlns:bgr="urn:x-inspire:specification:gmlas:BiogeographicalRegions:0.0" xmlns:bui="urn:x-inspire:specification:gmlas:Buildings:0.0" xmlns:cp="urn:x-inspire:specification:gmlas:CadastralParcels:3.0" xmlns:er="urn:x-inspire:specification:gmlas:EnergyResources:0.0" xmlns:fes="http://www.opengis.net/fes/2.0" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:geo="urn:x-inspire:specification:gmlas:Geology:0.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gml31="http://www.opengis.net/gml" xmlns:gn="urn:x-inspire:specification:gmlas:GeographicalNames:3.0" xmlns:hb="urn:x-inspire:specification:gmlas:HabitatsAndBiotopes:0.0" xmlns:hy="urn:x-inspire:specification:gmlas:HydroBase:3.0" xmlns:hy-n="urn:x-inspire:specification:gmlas:HydroNetwork:3.0" xmlns:hy-p="urn:x-inspire:specification:gmlas:HydroPhysicalWaters:3.0" xmlns:lc="urn:x-inspire:specification:gmlas:LandCover:0.0" xmlns:net="urn:x-inspire:specification:gmlas:Network:3.2" xmlns:nrz="urn:x-inspire:specification:gmlas:NaturalRiskZones:0.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ps="urn:x-inspire:specification:gmlas:ProtectedSites:3.0" xmlns:ps-f="urn:x-inspire:specification:gmlas:ProtectedSitesFull:3.0" xmlns:sd="urn:x-inspire:specification:gmlas:SpeciesDistribution:0.0" xmlns:sld="http://www.opengis.net/sld" xmlns:sr="urn:x-inspire:specification:gmlas:SeaRegions:0.0" xmlns:stat="urn:x-inspire:specification:gmlas:StatisticalUnits:0.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:tn="urn:x-inspire:specification:gmlas:CommonTransportElements:3.0" xmlns:tn-a="urn:x-inspire:specification:gmlas:AirTransportNetwork:3.0" xmlns:tn-c="urn:x-inspire:specification:gmlas:CableTransportNetwork:3.0" xmlns:tn-ra="urn:x-inspire:specification:gmlas:RailwayTransportNetwork:3.0" xmlns:tn-ro="urn:x-inspire:specification:gmlas:RoadTransportNetwork:3.0" xmlns:tn-w="urn:x-inspire:specification:gmlas:WaterTransportNetwork:3.0" xmlns:ugs="urn:x-inspire:specification:gmlas:UtilityAndGovernmentalServices:0.0" xmlns:wfd="urn:x-inspire:specification:gmlas:WaterFrameworkDirective:0.0" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:wfs11="http://www.opengis.net/wfs" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="http://inspire.ec.europa.eu/operation/download/GetSpatialDataSet">
<wfs:Title xmlns:wfs="http://www.opengis.net/wfs/2.0" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">Get Spatial Dataset</wfs:Title>
<wfs:Abstract xmlns:wfs="http://www.opengis.net/wfs/2.0" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">Get Spatial Dataset</wfs:Abstract>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0" name="CRS" type="xs:string"/>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0" name="DataSetIdCode" type="xs:string"/>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0" name="DataSetIdNamespace" type="xs:string"/>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0" name="Language" type="xs:string"/>
<wfs:QueryExpressionText xmlns:wfs="http://www.opengis.net/wfs/2.0" isPrivate="false" language="urn:ogc:def:queryLanguage:OGC-WFS::WFSQueryExpression" returnFeatureTypes="gml:AbstractFeature">
        
        <wfs:Query srsName="${CRS}" typeNames="schema-element(gml:AbstractFeature)"/>
       </wfs:QueryExpressionText>
</wfs:StoredQueryDescription>
</DescribeStoredQueriesResponse>
 

Could you please assist us in we need to change 

we

 

 

 

History

#1 Updated by Angelo Quaglia over 1 year ago

  • Status changed from New to Assigned

#2 Updated by Angelo Quaglia over 1 year ago

  • Status changed from Assigned to Feedback

Dear Antonis,

the feature type should be

TYPENAMES: ps:ProtectedSite

instead of

TYPENAMES: ps:ProtectedSites

Try to see if the error message changes.

Best regards,

Angelo

#3 Updated by Antonis Papantoniou over 1 year ago

Dear Angelo,

Do we also need to change the schema version?

#4 Updated by Antonis Papantoniou over 1 year ago

Dear Angelo,

I have misstyped the TYPENAMES in my previous post. When using TYPENAMES: ps:ProtectedSite again i get the below error.

<ExceptionReport xmlns="http://www.opengis.net/ows/1.1" version="2.0.0">
<Exception exceptionCode="InvalidParameterValue" locator="TYPENAMES">
<ExceptionText>
<![CDATA[
Operation request contains an invalid parameter value.
]]>
</ExceptionText>
<ExceptionText>
<![CDATA[
Operation request contains an invalid parameter value. Could not resolve ambiguous namespace for typename ps:ProtectedSite.
]]>
</ExceptionText>
</Exception>
</ExceptionReport>
 
I suspect that it might be related to the schema version due to the upgrade of our arcgis for inspire software. might this be related?

#5 Updated by Angelo Quaglia over 1 year ago

Dear Antonis,

you will have to contact ESRI.

I checked the service of another country and it seems similar but I do not know what version they have:

http://www.geoportal.lt/inspire-services/rest/services/INSPIRE/Protected_sites_UNESCOWorldHeritage/MapServer/exts/InspireFeatureDownload/service?service=WFS&version=2.0.0&request=DescribeStoredQueries&STOREDQUERY_ID=http://inspire.ec.europa.eu/operation/download/

 

<wfs:StoredQueryDescription xmlns="http://www.interactive-instruments.de/namespaces/XtraServerxmlns:ad="urn:x-inspire:specification:gmlas:Addresses:3.0xmlns:au="urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0xmlns:base="urn:x-inspire:specification:gmlas:BaseTypes:3.2xmlns:base2="http://inspire.ec.europa.eu/schemas/base2/1.0"xmlns:base33="http://inspire.ec.europa.eu/schemas/base/3.3xmlns:bgr="urn:x-inspire:specification:gmlas:BiogeographicalRegions:0.0xmlns:bui="urn:x-inspire:specification:gmlas:Buildings:0.0"xmlns:cp="urn:x-inspire:specification:gmlas:CadastralParcels:3.0xmlns:er="urn:x-inspire:specification:gmlas:EnergyResources:0.0xmlns:fes="http://www.opengis.net/fes/2.0"xmlns:gco="http://www.isotc211.org/2005/gcoxmlns:geo="urn:x-inspire:specification:gmlas:Geology:0.0xmlns:gmd="http://www.isotc211.org/2005/gmdxmlns:gml="http://www.opengis.net/gml/3.2"xmlns:gml31="http://www.opengis.net/gmlxmlns:gn="urn:x-inspire:specification:gmlas:GeographicalNames:3.0xmlns:hb="urn:x-inspire:specification:gmlas:HabitatsAndBiotopes:0.0xmlns:hy="urn:x-inspire:specification:gmlas:HydroBase:3.0xmlns:hy-n="urn:x-inspire:specification:gmlas:HydroNetwork:3.0xmlns:hy-p="urn:x-inspire:specification:gmlas:HydroPhysicalWaters:3.0xmlns:lc="urn:x-inspire:specification:gmlas:LandCover:0.0xmlns:net="urn:x-inspire:specification:gmlas:Network:3.2xmlns:nrz="urn:x-inspire:specification:gmlas:NaturalRiskZones:0.0xmlns:ogc="http://www.opengis.net/ogc"xmlns:ps="urn:x-inspire:specification:gmlas:ProtectedSites:3.0xmlns:ps-f="urn:x-inspire:specification:gmlas:ProtectedSitesFull:3.0xmlns:sd="urn:x-inspire:specification:gmlas:SpeciesDistribution:0.0"xmlns:sld="http://www.opengis.net/sldxmlns:sr="urn:x-inspire:specification:gmlas:SeaRegions:0.0xmlns:stat="urn:x-inspire:specification:gmlas:StatisticalUnits:0.0"xmlns:swe="http://www.opengis.net/swe/2.0xmlns:tn="urn:x-inspire:specification:gmlas:CommonTransportElements:3.0xmlns:tn-a="urn:x-inspire:specification:gmlas:AirTransportNetwork:3.0xmlns:tn-c="urn:x-inspire:specification:gmlas:CableTransportNetwork:3.0xmlns:tn-ra="urn:x-inspire:specification:gmlas:RailwayTransportNetwork:3.0xmlns:tn-ro="urn:x-inspire:specification:gmlas:RoadTransportNetwork:3.0"xmlns:tn-w="urn:x-inspire:specification:gmlas:WaterTransportNetwork:3.0xmlns:ugs="urn:x-inspire:specification:gmlas:UtilityAndGovernmentalServices:0.0xmlns:wfd="urn:x-inspire:specification:gmlas:WaterFrameworkDirective:0.0xmlns:wfs="http://www.opengis.net/wfs/2.0xmlns:wfs11="http://www.opengis.net/wfsxmlns:xi="http://www.w3.org/2001/XInclude"xmlns:xlink="http://www.w3.org/1999/xlinkxmlns:xs="http://www.w3.org/2001/XMLSchemaxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"id="http://inspire.ec.europa.eu/operation/download/GetSpatialDataSet">
<wfs:Title xmlns:wfs="http://www.opengis.net/wfs/2.0xml:lang="en">Get Spatial Dataset</wfs:Title>
<wfs:Abstract xmlns:wfs="http://www.opengis.net/wfs/2.0xml:lang="en">Get Spatial Dataset</wfs:Abstract>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0name="CRStype="xs:string"/>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0name="DataSetIdCodetype="xs:string"/>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0name="DataSetIdNamespacetype="xs:string"/>
<wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0name="Languagetype="xs:string"/>
<wfs:QueryExpressionText xmlns:wfs="http://www.opengis.net/wfs/2.0isPrivate="falselanguage="urn:ogc:def:queryLanguage:OGC-WFS::WFSQueryExpressionreturnFeatureTypes="gml:AbstractFeature">
<wfs:Query srsName="${CRS}typeNames="schema-element(gml:AbstractFeature)"></wfs:Query>
</wfs:QueryExpressionText>
</wfs:StoredQueryDescription>
</DescribeStoredQueriesResponse>

 

#6 Updated by Angelo Quaglia over 1 year ago

  • Subject changed from INSPIRE Download Service Protected Sites to CY: INSPIRE Download Service Protected Sites

#7 Updated by Davide Artasensi about 1 year ago

Dear Antonis,

 

any news regarding the status of this issue (as you mentioned potentially related to your schema upgrade in ArcGIS)?

 

I've just tested your WFS (with https) and it seems unreachable/not responding in a timely fashion.

Indeed, it is working fine with http:

http://weba.dls.moi.gov.cy/arcgis/rest/services/INSPIRE/PS_ProtectedSites/MapServer/exts/InspireFeatureDownload/service?service=WFS&version=2.0.0&request=DescribeStoredQueries&STORED_QUERYID=http://inspire.ec.europa.eu/operation/download/GetSpatialDataSet

 

Note: based on the latest harvest in the sandbox (May 24th), the geoportal cannot retrieve the downloadable dataset (if any) linked to the 3 availables for the Protected Sites theme.

http://inspire-geoportal.ec.europa.eu/sandbox/results.html?country=cy&view=details&theme=ps

 

Davide

Also available in: Atom PDF