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

Add ability for manual description of FeatureType #49

Open
SucheG opened this issue May 10, 2017 · 4 comments
Open

Add ability for manual description of FeatureType #49

SucheG opened this issue May 10, 2017 · 4 comments

Comments

@SucheG
Copy link

SucheG commented May 10, 2017

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)

@kuzkok
Copy link
Member

kuzkok commented May 10, 2017

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?

@SucheG
Copy link
Author

SucheG commented May 11, 2017

@sirius007
Copy link

the same issue

@kuzkok
Copy link
Member

kuzkok commented Mar 12, 2018

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>

@kuzkok kuzkok changed the title WFS 2.0.0 Support ? Add ability for manual description of FeatureType May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants