Open SucheG opened 7 years ago
wfs v2 extends v1 with locks and queries, use same GML 3.2 as in 1.1 standard description, and in general should work, but we dont test this plugin with 2.0.0 services. Can you provide url for your service?
Try this: http://services.cuzk.cz/wfs/inspire-cp-wfs.asp?service=WFS&request=GetCapabilities&version=2.0.0
It's Czech Cadaster parcels.
the same issue
it is error of Czech Cadaster wfs service, it should right implement of DescribeFeatureType capability but it always failed http://services.cuzk.cz/wfs/inspire-cp-wfs.asp?service=WFS&request=DescribeFeatureType&version=2.0.0&typeNS=cp&typeName=CadastralParcel returns
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by Marushka, version 4.1.3.0, GEOVAP, spol. s r.o., 12.03.2018.-->
<ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0.0" xml:lang="en-US" xmlns="http://www.opengis.net/ows/1.1">
<Exception exceptionCode="OperationProcessingFailed" />
</ExceptionReport>
for example response from geoserver wfs v2.0.0 https://demo.geo-solutions.it/geoserver/wfs?request=DescribeFeatureType&service=WFS&version=2.0.0&typeNS=test&typeName=polygon
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:test="http://test.geo-solutions.it" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://test.geo-solutions.it">
<xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="https://demo.geo-solutions.it:443/geoserver/schemas/gml/3.2.1/gml.xsd"/>
<xsd:complexType name="polygonType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="p" nillable="true" type="gml:SurfacePropertyType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="polygon" substitutionGroup="gml:AbstractFeature" type="test:polygonType"/>
</xsd:schema>
Is there support for WFS 2.0.0 ? Getting an error:
Uncaught TypeError: Cannot read property 'value' of undefined at e.setFeatureDescription (Leaflet-WFST.src.js:338) at Object.success (Leaflet-WFST.src.js:1108) at XMLHttpRequest.xhr.onreadystatechange (Leaflet-WFST.src.js:169)