Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[BUGFIX][QGIS Server] WFS DescribeFeatureType Geometry element type
In the OGR provider, we can read: ``` Some ogr drivers (e.g. GML) are not able to determine the geometry type of a layer like this. In such cases, we use virtual sublayers for each geometry if the layer contains multiple geometries (see subLayers) otherwise we guess geometry type from first feature ``` It means that in DescribeFeatureType Geometry element can be describe as simple and the GML contains simple and multi. It's not XML valid. To fix it, for OGR provider Geometry element type is set to `gml:GeometryPropertyType` For the next release, it will be interesting to allow users to specify whether the geometries are multi.
- Loading branch information
Showing
2 changed files
with
54 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters