Skip to content
Permalink
Browse files

Fix VRT wrapping for south-up datasets.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing
mmassing committed Mar 14, 2011
1 parent 11ce0ff commit 2ae2a6e4ce0e621fab33017912bf11a3219aabb8
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/gdal/qgsgdalprovider.cpp
@@ -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." );

0 comments on commit 2ae2a6e

Please sign in to comment.
You can’t perform that action at this time.