Re: [Qgis-user] raster calculator - no file produced
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 pedrongvenan...@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.668258 +lon_0=-8.1331084 +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.245009987287,100555.123890025751 : 122802.919680063377,147300.393790018999 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.668258], PARAMETER[central_meridian,-8.1331084], PARAMETER[scale_factor,1], PARAMETER[false_easting,0], PARAMETER[false_northing,0], UNIT[metre,1, AUTHORITY[EPSG,9001]], AUTHORITY[EPSG,3763]] Origin = (50410.24500999000,147300.3937900) 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.45W, 40d59'35.67N) Lower Left ( 50410.245, 100555.124) ( 7d32'16.02W, 40d34'20.37N) Upper Right ( 122802.920, 147300.394) ( 6d40'25.89W, 40d59' 8.02N) Lower Right ( 122802.920, 100555.124) ( 6d40'58.94W, 40d33'53.13N) Center ( 86606.582, 123927.759) ( 7d 6'25.74W, 40d46'47.18N) Band 1 Block=2896x1 Type=Float32, ColorInterp=Gray Pedro ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] raster calculator - no file produced
Hi Claas, On Sun, 22. Feb 2015 at 21:11:54 +0100, Claas Leiner wrote: I've just installed QGIS 2.8 and noticed that the raster calculator writes any files on Ubuntu 12.04. The formula you typed was valid. The following error message is displayed in the console: Warning: QFileInfo :: AbsolutePath: Constructed with empty filename Has anyone seen something similar? And that didn't happen when you tested 2.7? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: Digital signature ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] raster calculator - no file produced
Hi Claas and Jurgen, I just tested with a simple expression dem_srtm_pttm06_80m@1 * 2 and I can confirm that there is no result, both on 2.8 and 2.9 (master). Same expression, on the same machine (Xubuntu 12.04 32bits), with QGIS 2.4 and 2.6, Raster calculator works as expected. Pedro Venâncio 2015-02-22 20:38 GMT+00:00 Jürgen E. j...@norbit.de: Hi Claas, On Sun, 22. Feb 2015 at 21:11:54 +0100, Claas Leiner wrote: I've just installed QGIS 2.8 and noticed that the raster calculator writes any files on Ubuntu 12.04. The formula you typed was valid. The following error message is displayed in the console: Warning: QFileInfo :: AbsolutePath: Constructed with empty filename Has anyone seen something similar? And that didn't happen when you tested 2.7? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] raster calculator - no file produced
On Sun, 22. Feb 2015 at 21:11:54 +0100, Claas Leiner wrote: I've just installed QGIS 2.8 and noticed that the raster calculator writes any files on Ubuntu 12.04. The formula you typed was valid. The following error message is displayed in the console: Warning: QFileInfo :: AbsolutePath: Constructed with empty filename Has anyone seen something similar? I can confirm that there's some issue. On Windows, a file is created in the specified path but all raster values are zero when loaded. So it probably fails to write the raster calc results. Best wishes, Anita ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] raster calculator - no file produced
Hello, I've just installed QGIS 2.8 and noticed that the raster calculator writes any files on Ubuntu 12.04. The formula you typed was valid. The following error message is displayed in the console: Warning: QFileInfo :: AbsolutePath: Constructed with empty filename Has anyone seen something similar? Many Greetings, Claas -- ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] raster calculator - no file produced
I also get this error message Warning: QFileInfo :: AbsolutePath: Constructed with empty filename when I double click in the Raster band to add the raster to Raster calculator expression. After that, I don't get any other error, but I also don't get any result. Best regards, Pedro 2015-02-22 21:31 GMT+00:00 Anita Graser anitagra...@gmx.at: On Sun, 22. Feb 2015 at 21:11:54 +0100, Claas Leiner wrote: I've just installed QGIS 2.8 and noticed that the raster calculator writes any files on Ubuntu 12.04. The formula you typed was valid. The following error message is displayed in the console: Warning: QFileInfo :: AbsolutePath: Constructed with empty filename Has anyone seen something similar? I can confirm that there's some issue. On Windows, a file is created in the specified path but all raster values are zero when loaded. So it probably fails to write the raster calc results. Best wishes, Anita ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user