[QGIS Commit] r15487 - trunk/qgis/src/providers/gdal
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Mar 14 18:35:59 EDT 2011
Author: mmassing
Date: 2011-03-14 15:35:59 -0700 (Mon, 14 Mar 2011)
New Revision: 15487
Modified:
trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp
Log:
Clean up a few assignments I left abandoned.
Modified: trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp
===================================================================
--- trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp 2011-03-14 22:31:16 UTC (rev 15486)
+++ trunk/qgis/src/providers/gdal/qgsgdalprovider.cpp 2011-03-14 22:35:59 UTC (rev 15487)
@@ -114,15 +114,6 @@
// To get buildSupportedRasterFileFilter the provider is called with empty uri
if ( uri.isEmpty() ) return;
- // Initialise the affine transform matrix
- mGeoTransform[0] = 0;
- mGeoTransform[1] = 1;
- mGeoTransform[2] = 0;
- mGeoTransform[3] = 0;
- mGeoTransform[4] = 0;
- mGeoTransform[5] = -1;
-
-
mGdalDataset = NULL;
//mGdalBaseDataset = GDALOpen( QFile::encodeName( uri ).constData(), GA_ReadOnly );
@@ -173,9 +164,6 @@
if (!hasGeoTransform)
{
- mWidth = GDALGetRasterXSize( mGdalDataset );
- mHeight = GDALGetRasterYSize( mGdalDataset );
-
// Initialise the affine transform matrix
mGeoTransform[0] = 0;
mGeoTransform[1] = 1;
More information about the QGIS-commit
mailing list