Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[GRASS] fixed test
(cherry picked from commit 968e55c)
  • Loading branch information
blazek committed Nov 1, 2015
1 parent 17399c0 commit 6dcb134
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/src/providers/grass/testqgsgrassprovider.cpp
Expand Up @@ -765,7 +765,10 @@ void TestQgsGrassProvider::rasterImport()
}

QStringList rasterFiles;
rasterFiles << "tenbytenraster.asc" << "landsat.tif" << "raster/band1_byte_ct_epsg4326.tif" << "raster/band1_int16_noct_epsg4326.tif";
// tenbytenraster.asc does not have CRS, import to EPSG:4326 without reprojection fails
// in G_adjust_Cell_head() (Illegal latitude for North)
//rasterFiles << "tenbytenraster.asc";
rasterFiles << "landsat.tif" << "raster/band1_byte_ct_epsg4326.tif" << "raster/band1_int16_noct_epsg4326.tif";
rasterFiles << "raster/band1_float32_noct_epsg4326.tif" << "raster/band3_int16_noct_epsg4326.tif";

QgsCoordinateReferenceSystem mapsetCrs = QgsGrass::crsDirect( mGisdbase, mLocation );
Expand Down

0 comments on commit 6dcb134

Please sign in to comment.