Hi Pedro,

On Mon, Feb 20, 2017 at 7:36 PM, Pedro Venâncio <[email protected]>
wrote:

> Hi Vaclav,
>
> The problem with r.mapcalc in QGIS was this one:
>
> https://hub.qgis.org/issues/6894
>
>
I forgot about this ticket. If I interpret the comments correctly there are
still people who want r.mapcalculator despite its issues.

I also forgot about -l flag to list inputs and outputs in G7.2:

r.mapcalc "a = elevation + lakes" -l
output=a
input=elevation@PERMANENT,lakes@PERMANENT

It does not do the computation, it only lists the inputs and outputs. The
was point to make writing the wrappers easier and more robust. See details
here:

https://grass.osgeo.org/grass72/manuals/r.mapcalc.html
https://trac.osgeo.org/grass/ticket/2592
https://trac.osgeo.org/grass/changeset/67000


> It was partially solved, but not completely. So, Victor had created a new
> raster calculator using native QGIS classes:
>
> https://github.com/qgis/QGIS/pull/3779
>

Thanks for the info.


>
>
> 2017-02-21 0:11 GMT+00:00 Vaclav Petras <[email protected]>:
>
>>
>> On Mon, Feb 20, 2017 at 4:22 PM, Luiz Andrade <[email protected]>
>> wrote:
>>
>>> 1 - Why wasn’t r.mapcalculator ported to grass7? It is great to use it
>>> from within QGIS.
>>
>>
>> Nobody really asked for that as far as I know. The porting should be
>> quite simple if you are interested in that. But that was not the issue. See
>> discussion here:
>>
>> http://trac.osgeo.org/grass/ticket/2409#comment:187
>> http://trac.osgeo.org/grass/ticket/2409#comment:190
>>
>> QGIS seemed to focus more on providing good native QGIS calc:
>>
>> https://lists.osgeo.org/pipermail/qgis-developer/2016-October/045569.html
>> https://lists.osgeo.org/pipermail/qgis-developer/2016-October/045596.html
>>
>> Of course, these things can be reevaluated anytime. Ideally in a ticket.
>>
>> If you learn or ask more about it somewhere else, please write it back. I
>> would like to have the whole picture.
>>
>> Vaclav
>>
>> _______________________________________________
>> grass-user mailing list
>> [email protected]
>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>
>
>
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to