Skip to content

Commit e9487ba

Browse files
author
mmassing
committed
Fix VRT wrapping for south-up datasets.
git-svn-id: http://svn.osgeo.org/qgis/trunk@15488 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 77c5147 commit e9487ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/providers/gdal/qgsgdalprovider.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
149149
mGdalDataset =
150150
GDALAutoCreateWarpedVRT( mGdalBaseDataset, NULL, NULL,
151151
GRA_NearestNeighbour, 0.2, NULL );
152+
153+
GDALGetGeoTransform(mGdalDataset, mGeoTransform);
152154
if ( mGdalDataset == NULL )
153155
{
154156
QgsLogger::warning( "Warped VRT Creation failed." );

0 commit comments

Comments
 (0)