[Qgis-user] getting statistics from a raster layer
Andre Joost
andre+joost at nurfuerspam.de
Wed Sep 19 00:04:47 PDT 2012
Am 19.09.2012 05:11, schrieb Antonio Silva:
>
> Now I'm getting: "Warning : the input vector layer has a SRS, but the
> source raster dataset does not.
> Cutline results may be incorrect."
>
>
> So, what is going wrong? The asc (raster file) and the shape with the
> polygon can be downloaded at http://dl.dropbox.com/u/755659/TSM.rar
The gdalwarp command does not know anything about the CRS you set inside
Qgis. So you have to apply the CRS to the raster file first:
gdalwarp -t_srs EPSG:4326 32610_2.asc 32610_2.tif
With that fully flavoured Geotiff you can do all necessary gdal operations.
HTH,
André Joost
More information about the Qgis-user
mailing list