<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Interesting Kirk,<div><br><div>The QGIS vector to raster conversion is not available in the graphical modeler or do you have another reason behind your solution? I don’t use much the graphical modeler so I appreciate your incite.</div><div><br></div><div>Cheers!<br><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 25 févr. 2021 à 15:44, Kirk Schmidt <kirk@nortekresources.com> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>To add to Nicolas" comment:</p>
<p>1) Create your point layer from a csv (easting, northing id) as a
minimum</p>
<p>2) If you want to stay with process modeler, use the
SAGA>Raster creation tools> Rasterize Algorithm to convert
the point layer to your required resolution and size</p>
<p>3) Use the GDAL>Raster Analysis>Proximity or
SAGA>Raster tools> Proximity Raster to create your output.</p>
<p>Kirk Schmidt<br>
</p>
<div class="moz-cite-prefix">On 2/25/2021 4:24 PM, Nicolas Cadieux
wrote:<br>
</div>
<blockquote type="cite" cite="mid:6709fef4-1ae0-2a4f-f6d9-c4a909d17016@gmail.com">
<p>Hi,</p>
<p>You can cut down you use of several plugins by doing the
following,</p>
<p>1) Create a vector point file with a single point having the
numerical field containing the value 1. This file could be a
csv containing WKT.<br>
</p>
<p>2) Use the vector to raster conversion. (This will take your
vector point file, an create a raster of x,y dimensions. You
point will become 1 and all other values will be 0.</p>
<p>3) Use the Proximity raster distance gdal function.</p>
<p>This requires no plugins so it should be easy to create a
graphical modeler. My favorite way would be to go to strait
Python and to call the gdal proximity function from my Python
script. If you had hundred or thousands of these to do, I could
develop a Python script that could automate the entire thing.
Contact me if you have questions.<br>
</p>
<p>Nicolas Cadieux</p>
<p> <br>
</p>
<div class="moz-cite-prefix">On 2021-02-25 12:58 p.m., Fabio
Falchi wrote:<br>
</div>
<blockquote type="cite" cite="mid:1815227708.4326746.1614275927041@mail.yahoo.com">
<div class="ydp1f6623d7yahoo-style-wrap">
<div><br>
</div>
<div dir="ltr" data-setdir="false">
<div>
<div class="ydpf1472d4cmsg-body ydpf1472d4cP_wpofO
ydpf1472d4cmq_AS" data-test-id="message-view-body-content">
<div class="ydpf1472d4cjb_0 ydpf1472d4cX_6MGW
ydpf1472d4cN_6Fd5">
<div>
<div id="ydpf1472d4cyiv3016035406">
<div>
<div class="ydpf1472d4cyiv3016035406yahoo-style-wrap">
<div dir="ltr">Dear all,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr" data-setdir="false">not having
received any answer, I repeat the request.<br>
</div>
<div dir="ltr">I need to speed up the process
of obtaining rasters with distances from a
single point (or a single lat-lon
coordinate) in it. Manually I use this
procedure:</div>
<div dir="ltr">With a georeferenced raster in
a UTM projection I use raster calculator to
obtain a raster with all pixels set to zero.
Then, with Serval plug-in, I manually set to
1 the value of the pixel in the wanted
position (either by using a satellite
overlay or by using a point vector layer
with the appropriate coordinates). Then I
use the proximity function under
Raster>Analisys menu.</div>
<div dir="ltr">I want to make this via the
Graphical Modeler, in order to be able to
make the process fast and skip the manual
introduction with Serval plug-in. At the
very least, I need a mode to put the value 1
in the pixel of the selected null raster in
the position givel by lat-lon coordinates. <br>
</div>
<div dir="ltr">Thank you!</div>
<div dir="ltr">Best,</div>
<div dir="ltr">Fabio Falchi</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div>
<p class="ydpf1472d4cyiv3016035406ydp3a68e8daox-fa029a8a82-default-style"><em><span>USC
- Universidade de Santiago de
Compostela</span></em></p>
<p class="ydpf1472d4cyiv3016035406ydp3a68e8daox-fa029a8a82-default-style"><em><span>ISTIL
- Light Pollution Science and
Technology Institute</span></em></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
</div>
</div>
<div id="yahoo_quoted_4660745305" class="yahoo_quoted">
<div>
<div> Il sabato 20 febbraio 2021, 18:04:14 CET, Fabio Falchi
<a class="moz-txt-link-rfc2396E" href="mailto:fabio_falchi@yahoo.it" moz-do-not-send="true"><fabio_falchi@yahoo.it></a>
ha scritto: </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div id="yiv3016035406">
<div>
<div class="yiv3016035406yahoo-style-wrap">
<div dir="ltr">Dear all,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I need to speed up the process of
obtaining rasters with distances from a single
point in it. Manually I use this procedure:</div>
<div dir="ltr">With a georeferenced raster in a UTM
projection I use raster calculator to obtain a
raster with all pixels set to zero. Then, with
Serval plug-in, I manually set to 1 the value of
the pixel in the wanted position (either by using
a satellite overlay or by using a point vector
layer with the appropriate coordinates). Then I
use the proximity function under
Raster>Analisys menu.</div>
<div dir="ltr">I want to make this via the Graphical
Modeler, in order to be able to make the process
fast and skip the manual introduction with Serval
plug-in. At the very least, I need a mode to put
the value 1 in the pixel of the selected null
raster in the position givel by lat-lon
coordinates. <br>
</div>
<div dir="ltr">Thank you!</div>
<div dir="ltr">Best,</div>
<div dir="ltr">Fabio Falchi</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div>
<p class="yiv3016035406ydp3a68e8daox-fa029a8a82-default-style"><em><span>USC
- Universidade de Santiago de Compostela</span></em></p>
<p class="yiv3016035406ydp3a68e8daox-fa029a8a82-default-style"><em><span>ISTIL
- Light Pollution Science and Technology
Institute</span></em></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux" moz-do-not-send="true">https://gitlab.com/njacadieux</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: <a class="moz-txt-link-abbreviated" href="mailto:kirk@nortekresources.com">kirk@nortekresources.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.nortekresources.com">www.nortekresources.com</a></pre>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></body></html>