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

WFS client post single geometry transactions to a multi geometry layer #22390

Closed
qgib opened this issue Mar 3, 2016 · 2 comments
Closed

WFS client post single geometry transactions to a multi geometry layer #22390

qgib opened this issue Mar 3, 2016 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Mar 3, 2016

Author Name: Martin Hoegh (@mapcentia)
Original Redmine Issue: 14409
Affected QGIS version: 2.12.1
Redmine category:web_services_clients/wfs


In 2.12 QGIS the WFS client post features of type Polygon to a MultiPolygon layer. This happens when adding new features. Below is the schema of the tested WFS layer

<xsd:schema targetNamespace="http://mapcentia.com/syddjurs" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:gc2="http://www.mapcentia.com/gc2" xmlns:syddjurs="http://mapcentia.com/syddjurs" elementFormDefault="qualified" version="1.0">
<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/>
<xsd:import namespace="http://www.mapcentia.com/gc2" schemaLocation="http://cowi.mapcentia.com/xmlschemas/gc2.xsd"/>
<xsd:complexType name="kpplandk2_Type">
xsd:complexContent
<xsd:extension base="gml:AbstractFeatureType">
xsd:sequence
<xsd:element nillable="true" name="the_geom" label="the_geom" maxOccurs="1" type="gml:MultiPolygonPropertyType" minOccurs="0">
</xsd:element>
<xsd:element nillable="true" name="plannr" label="plannr" maxOccurs="1" minOccurs="0">
xsd:simpleType<xsd:restriction base="xsd:string"><xsd:minLength value="0"/><xsd:maxLength value="256"/></xsd:restriction></xsd:simpleType></xsd:element>
<xsd:element nillable="true" name="planid" label="planid" maxOccurs="1" minOccurs="0">
xsd:simpleType<xsd:restriction base="xsd:decimal"></xsd:restriction></xsd:simpleType></xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="kpplandk2" type="syddjurs:kpplandk2_Type" substitutionGroup="gml:_Feature"/>
</xsd:schema>

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2016

Author Name: Jukka Rahkonen (Jukka Rahkonen)


Duplicate, see #22141

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2016

Author Name: Nyall Dawson (@nyalldawson)


  • resolution was changed from to duplicate
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant