File tree 1 file changed +0
-12
lines changed
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 )
114
114
// To get buildSupportedRasterFileFilter the provider is called with empty uri
115
115
if ( uri.isEmpty () ) return ;
116
116
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
-
126
117
mGdalDataset = NULL ;
127
118
128
119
// mGdalBaseDataset = GDALOpen( QFile::encodeName( uri ).constData(), GA_ReadOnly );
@@ -173,9 +164,6 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
173
164
174
165
if (!hasGeoTransform)
175
166
{
176
- mWidth = GDALGetRasterXSize ( mGdalDataset );
177
- mHeight = GDALGetRasterYSize ( mGdalDataset );
178
-
179
167
// Initialise the affine transform matrix
180
168
mGeoTransform [0 ] = 0 ;
181
169
mGeoTransform [1 ] = 1 ;
You can’t perform that action at this time.
0 commit comments