Skip to content

Commit

Permalink
Fix VRT wrapping for south-up datasets.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing committed Mar 14, 2011
1 parent 11ce0ff commit 2ae2a6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -149,6 +149,8 @@ QgsGdalProvider::QgsGdalProvider( QString const & uri )
mGdalDataset =
GDALAutoCreateWarpedVRT( mGdalBaseDataset, NULL, NULL,
GRA_NearestNeighbour, 0.2, NULL );

GDALGetGeoTransform(mGdalDataset, mGeoTransform);
if ( mGdalDataset == NULL )
{
QgsLogger::warning( "Warped VRT Creation failed." );
Expand Down

0 comments on commit 2ae2a6e

Please sign in to comment.