File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,6 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
114114 // To get buildSupportedRasterFileFilter the provider is called with empty uri
115115 if ( uri.isEmpty () ) return ;
116116
117- // Initialise the affine transform matrix
118- mGeoTransform [0 ] = 0 ;
119- mGeoTransform [1 ] = 1 ;
120- mGeoTransform [2 ] = 0 ;
121- mGeoTransform [3 ] = 0 ;
122- mGeoTransform [4 ] = 0 ;
123- mGeoTransform [5 ] = -1 ;
124-
125-
126117 mGdalDataset = NULL ;
127118
128119 // mGdalBaseDataset = GDALOpen( QFile::encodeName( uri ).constData(), GA_ReadOnly );
@@ -173,9 +164,6 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
173164
174165 if (!hasGeoTransform)
175166 {
176- mWidth = GDALGetRasterXSize ( mGdalDataset );
177- mHeight = GDALGetRasterYSize ( mGdalDataset );
178-
179167 // Initialise the affine transform matrix
180168 mGeoTransform [0 ] = 0 ;
181169 mGeoTransform [1 ] = 1 ;
You can’t perform that action at this time.
0 commit comments