Skip to content

Commit 0cee193

Browse files
committed
enabled to save as vector with measure
1 parent d56a692 commit 0cee193

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsvectorfilewriter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,9 @@ QStringList QgsVectorFileWriter::defaultLayerOptions( const QString &driverName
17981798

17991799
OGRwkbGeometryType QgsVectorFileWriter::ogrTypeFromWkbType( QgsWkbTypes::Type type )
18001800
{
1801+
#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,1,0)
18011802
type = QgsWkbTypes::dropM( type );
1803+
#endif
18021804

18031805
OGRwkbGeometryType ogrType = static_cast<OGRwkbGeometryType>( type );
18041806

0 commit comments

Comments
 (0)