mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
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.