Skip to content

Commit c985736

Browse files
committed
Set crs to created gdal dataset
1 parent d5a82c6 commit c985736

File tree

3 files changed

+258
-188
lines changed

3 files changed

+258
-188
lines changed

src/core/qgsrasterdataprovider.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,13 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
447447
Q_UNUSED( width );
448448
Q_UNUSED( height );
449449
Q_UNUSED( geoTransform );
450-
Q_UNUSED( crs ); return false;
450+
Q_UNUSED( crs );
451+
return false;
451452
}
452453

454+
/**Returns the formats supported by create()*/
455+
virtual QStringList createFormats() const { return QStringList(); }
456+
453457
/** Remove dataset*/
454458
virtual bool remove() { return false; }
455459

0 commit comments

Comments
 (0)