<div dir="ltr">Hi Francesco,<div><br></div><div>This is a great initiative, thank you for taking on this.</div><div>I have just recently had a project where this would have been of great value. I'm very much looking forward to this work.</div><div><br></div><div>Welcome on QGIS board and enjoy your GSoC.</div><div><br></div><div>Matthias</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 13, 2021 at 3:41 PM Francesco Bursi <<a href="mailto:francesco.bursi@hotmail.it">francesco.bursi@hotmail.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div>
<span>Hi Alister,</span>
<div><br>
</div>
<div>Thank you for the feedback. </div>
<div>Well, I imagine the new feature with some properties of the existing Raster Calculator but not exactly the same, e.g It won't be possible to set layer extent / output CRS, because this would be already pre-defined by the layer on which the renderer is
 applied, in the basic mockup you should not see these 2 field. The same can be said for choosing other layer. It should work like contours/hillshade renderer, where you can style only the layer you have currently selected but you can choose the band.</div>
<div>Besides, I think that the existing Raster Calculator in the processing toolbox (as well as the Gdal Raster Calculator) allows the creation of a temporary file, enable the addition of a layer to the project that you can style, but maybe here I misunderstood
 what you meant.</div>
<span>One of the advantage of the on-the-fly (styling) is to  <b style="font-weight:normal">
<span style="font-weight:400">avoid the need to create derived raster files and layers.</span></b></span>
<div><br>
</div>
<div>Let me know if I misunderstood something and thank you for the message.</div>
<div><br>
</div>
<div>Kind Regards,</div>
<div><br>
</div>
<div>Francesco Bursi<br>
<span><b style="font-weight:normal"><span style="font-weight:400"></span></b></span>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div>
<div>
<div id="gmail-m_964588082001602596appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_964588082001602596divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Da:</b> QGIS-Developer <<a href="mailto:qgis-developer-bounces@lists.osgeo.org" target="_blank">qgis-developer-bounces@lists.osgeo.org</a>> per conto di Alister Hood <<a href="mailto:alister.hood@gmail.com" target="_blank">alister.hood@gmail.com</a>><br>
<b>Inviato:</b> martedì 13 aprile 2021 14:10<br>
<b>A:</b> <a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a> <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>><br>
<b>Oggetto:</b> Re: [QGIS-Developer] GSoC 2021 QGIS On-the-fly Raster Calculator proposal draft review and feedback</font>
<div> </div>
</div>
<div>
<div dir="auto">
<div>
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
<div dir="auto">
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
<div dir="auto">
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
<div dir="auto">
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
<div dir="auto">Hi,</div>
<div dir="auto">This functionality would be great, but as a user, I can't help thinking the proposal is to implement it in the wrong way.</div>
<div dir="auto"><br>
</div>
<div dir="auto">If implemented as a renderer, as described, you could conceivably use an expression that uses other layers but not the layer you are supposedly rendering.  What is displayed would not correspond in any way to the actual layer... Bizarre.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Would it not be possible to instead implement a "virtual raster" *provider*?  Add a checkbox in the raster calculator labelled "create as virtual raster".  Create a new layer that can be styled using the existing renderers and behaves in every
 way like a non-virtual layer - e.g. the right values would be shown using the identify tool and the "value tool" plugin, and you could use the layer as an input for other processing tools.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards, and best wishes with the proposal,</div>
<div dir="auto">Alister</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Mon, 12 Apr 2021 12:20:53 +0000<br>
From: Francesco Bursi <<a href="mailto:francesco.bursi@hotmail.it" rel="noreferrer" target="_blank">francesco.bursi@hotmail.it</a>><br>
To: qgis-developer <<a href="mailto:qgis-developer@lists.osgeo.org" rel="noreferrer" target="_blank">qgis-developer@lists.osgeo.org</a>><br>
Subject: [QGIS-Developer] GSoC 2021 QGIS On-the-fly Raster Calculator<br>
        proposal draft review and feedback<br>
Message-ID:<br>
        <<a href="mailto:VI1P190MB038187BB910511B3B6B8B44280709@VI1P190MB0381.EURP190.PROD.OUTLOOK.COM" rel="noreferrer" target="_blank">VI1P190MB038187BB910511B3B6B8B44280709@VI1P190MB0381.EURP190.PROD.OUTLOOK.COM</a>><br>
<br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hello QGIS Dev,<br>
<br>
<br>
I?m Francesco Bursi, an M.Sc. civil engineer from Italy currently enrolled in a Master of Advanced Studies (Level 8 EQF) in giscience and geoinformatics at the University of Padua.<br>
<br>
I?m really interested in the QGIS (possible) new rendering feature that involves raster calculator capabilities, I've already discussed the project with mentors Martin Tobias and Peter Petrik and possible co-mentor Roberto Marzocchi,  they gave me a lot of
 feedback and advice for the project.<br>
I would like to share my proposal with you before the final submission. Don't hesitate to give me feedback and ask me question/clarification or point me out what's missing.<br>
<br>
<br>
proposal 2021<<a href="https://docs.google.com/document/d/1u8L_L1IJjGCZ3d8Vq8duxHbsHZeyzwqOe3tXa1JcKbs/edit?usp=sharing" rel="noreferrer noreferrer" target="_blank">https://docs.google.com/document/d/1u8L_L1IJjGCZ3d8Vq8duxHbsHZeyzwqOe3tXa1JcKbs/edit?usp=sharing</a>><br>
<br>
<br>
I'm open to advice, remarks and criticism in order to improve.<br>
<br>
I am looking forward to a feedback, thank you for your time.<br>
<br>
<br>
Best regards,<br>
<br>
Francesco Bursi</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>