Skip to content

Commit

Permalink
enabled to save as vector with measure
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 30, 2017
1 parent d56a692 commit 0cee193
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsvectorfilewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,9 @@ QStringList QgsVectorFileWriter::defaultLayerOptions( const QString &driverName

OGRwkbGeometryType QgsVectorFileWriter::ogrTypeFromWkbType( QgsWkbTypes::Type type )
{
#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,1,0)
type = QgsWkbTypes::dropM( type );
#endif

OGRwkbGeometryType ogrType = static_cast<OGRwkbGeometryType>( type );

Expand Down

0 comments on commit 0cee193

Please sign in to comment.