[Qgis-user] raster calculator - no file produced

Pedro VenĂ¢ncio pedrongvenancio at gmail.com
Thu Feb 26 15:37:20 PST 2015


This is already fixed (tested on master) and backported to 2.8.

https://github.com/qgis/QGIS/commit/0ccc07af0eacd56986fbf01418aa6d3a701e231e

Thanks Jurgen!

Pedro



2015-02-23 16:47 GMT+00:00 Pedro VenĂ¢ncio <pedrongvenancio at gmail.com>:

> Same test on Windows produces a raster file with all pixel values zero,
> like Anita.
>
>
> - Metadata:
>
> Driver
> GDAL provider
> GTiff
> GeoTIFF
> Dataset Description
> D:\Testes\mdt.tif
> AREA_OR_POINT=Area
> Band 1
> STATISTICS_MAXIMUM=0
> STATISTICS_MEAN=0
> STATISTICS_MINIMUM=0
> STATISTICS_STDDEV=0
> Dimensions
> X: 2896 Y: 1870 Bands: 1
> Origin
> 50410.2,147300
> Pixel Size
> 24.9975,-24.9975
> No Data Value
> *NoDataValue not set*
> Data Type
> Float32 - Thirty two bit floating point
> Pyramid overviews
> Layer Spatial Reference System
> +proj=tmerc +lat_0=39.66825833333333 +lon_0=-8.133108333333334 +k=1 +x_0=0
> +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
> Layer Extent (layer original source projection)
> 50410.2450099999987287,100555.1238900000025751 :
> 122802.9196800000063377,147300.3937900000018999
> Band
> Band 1
> Band No
> 1
> No Stats
> No stats collected yet
>
>
> - gdalinfo:
>
> Algorithm Information starting...
> GDAL command:
> gdalinfo D:\Testes\mdt.tif
> GDAL command output:
> Driver: GTiff/GeoTIFF
> Files: D:\Testes\mdt.tif
> Size is 2896, 1870
> Coordinate System is:
> PROJCS["ETRS89 / Portugal TM06",
> GEOGCS["ETRS89",
> DATUM["European_Terrestrial_Reference_System_1989",
> SPHEROID["GRS 1980",6378137,298.2572221010002,
> AUTHORITY["EPSG","7019"]],
> TOWGS84[0,0,0,0,0,0,0],
> AUTHORITY["EPSG","6258"]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433],
> AUTHORITY["EPSG","4258"]],
> PROJECTION["Transverse_Mercator"],
> PARAMETER["latitude_of_origin",39.66825833333333],
> PARAMETER["central_meridian",-8.133108333333334],
> PARAMETER["scale_factor",1],
> PARAMETER["false_easting",0],
> PARAMETER["false_northing",0],
> UNIT["metre",1,
> AUTHORITY["EPSG","9001"]],
> AUTHORITY["EPSG","3763"]]
> Origin = (50410.245009999999000,147300.393790000000000)
> Pixel Size = (24.997470535220998,-24.997470534759358)
> Metadata:
> AREA_OR_POINT=Area
> Image Structure Metadata:
> INTERLEAVE=BAND
> Corner Coordinates:
> Upper Left ( 50410.245, 147300.394) ( 7d32' 2.45"W, 40d59'35.67"N)
> Lower Left ( 50410.245, 100555.124) ( 7d32'16.02"W, 40d34'20.37"N)
> Upper Right ( 122802.920, 147300.394) ( 6d40'25.89"W, 40d59' 8.02"N)
> Lower Right ( 122802.920, 100555.124) ( 6d40'58.94"W, 40d33'53.13"N)
> Center ( 86606.582, 123927.759) ( 7d 6'25.74"W, 40d46'47.18"N)
> Band 1 Block=2896x1 Type=Float32, ColorInterp=Gray
>
>
>
> Pedro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150226/3709ecce/attachment.html>


More information about the Qgis-user mailing list