Skip to content
Permalink
Browse files

Fix VRT wrapping for south-up datasets.

git-svn-id: http://svn.osgeo.org/qgis/trunk@15488 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing
mmassing committed Mar 14, 2011
1 parent 77c5147 commit e9487bac662f79a8551c5996a46b44bc96774e8d
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 e9487ba

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