Skip to content
Permalink
Browse files

Fix crash when creating new rasters

  • Loading branch information
nyalldawson committed Oct 24, 2017
1 parent 63e6cda commit 052688cb86181e72724fd507ffe7982fde342322
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/gdal/qgsgdalprovider.cpp
@@ -2739,6 +2739,7 @@ QGISEXTERN QgsGdalProvider *create(

GDALSetGeoTransform( dataset.get(), geoTransform );
GDALSetProjection( dataset.get(), crs.toWkt().toLocal8Bit().data() );
dataset.reset();

return new QgsGdalProvider( uri, true );
}

0 comments on commit 052688c

Please sign in to comment.
You can’t perform that action at this time.