We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent d56a692 commit 0cee193Copy full SHA for 0cee193
src/core/qgsvectorfilewriter.cpp
@@ -1798,7 +1798,9 @@ QStringList QgsVectorFileWriter::defaultLayerOptions( const QString &driverName
1798
1799
OGRwkbGeometryType QgsVectorFileWriter::ogrTypeFromWkbType( QgsWkbTypes::Type type )
1800
{
1801
+#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,1,0)
1802
type = QgsWkbTypes::dropM( type );
1803
+#endif
1804
1805
OGRwkbGeometryType ogrType = static_cast<OGRwkbGeometryType>( type );
1806
0 commit comments