Bug report #15066
OGR: Sublayers detected sometimes when not relevant (Polygon/CurvePolygon)
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No|
When a layer is reported by OGR as having a geometry type of unknown, because it is a mix of polygon and curvepolygon, such as in a GML file, we detect 2 sublayers. This is not really appropriate since we can handle both in a single layer. And by detecting 2 sublayers, we actually have duplicates when rendering.