[Qgis-user] Different behaviour Raster Calculater under Raster menu vs Processing Toolbox

Luigi Pirelli luipir at gmail.com
Mon Jan 14 00:35:38 PST 2019


I've reintroduced the map calculator in the new processing
infrastructure... I created tests and I extensively tested with the help of
other users, but always is possible to hit a bug! Because I'm busy with
QGIS UserConf  organization, I would kindly ask if it's possible to trace
your issue filing a bug and assigning to me please.

in the meantime you can override or adapt the user manual trying with the
shining new (renintroduced) raster calculator via grass available in
master... btw this latter does not use GPU acceleration as recently
introduced only for core algorithms.

thank you to update the training material

regards

Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**************************************************************************************************


On Fri, 11 Jan 2019 at 10:42, Janneke van Dijk <janneke.qgis at gmail.com>
wrote:

> Dear all,
>
> I'm testing the training manual (QGIS 3) and think I ran into a bug -
> unless I am misunderstanding something. I am doing the following, QGIS
> 3.4.3 on Windows:
>
> 1. Processing>Raster terrain analysis>Aspect: use the
> exercise_data\raster\SRTM\srtm_41_19.tif DEM as an input and use the
> default settings (data from
> https://github.com/qgis/QGIS-Training-Data/archive/v2.0.zip)
>
> 2. Processing>Raster analysis>Raster calculator: "Aspect at 1" <= 90 OR
> "Aspect at 1">= 270 as expression, use the DEM layer for extents.
>
> 3. The resulting output gets created, but the information from provider
> shows "STATISTICS_VALID_PERCENT=0" and it does not have min and max values
>
> I have tried using a more simple expression like  "Aspect at 1" > 90 with
> the same result. Copying and pasting the expression in the Raster
> calculator under the menu Raster works as expected (values of 0 and 1).
> Using the Raster Calculator under Processing with another input layer
> and similar expression worked.
>
> So it seems that "something" when the aspect raster is created causes it
> "not to work" with the raster calculator under processing, while it
> still works with the RC under Raster.
>
> Can anyone confirm this is a bug?
>
> Thanks,
>
> Janneke
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190114/56c06f95/attachment.html>


More information about the Qgis-user mailing list