Skip to content
Permalink
Browse files

[GRASS] fixed test

  • Loading branch information
blazek committed Nov 1, 2015
1 parent 24960da commit 968e55cb110ce809447f43d40bc8c6a6d04dc052
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/providers/grass/testqgsgrassprovider.cpp
@@ -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 );

0 comments on commit 968e55c

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