<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div class="ydp1f6623d7yahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:13px;">
        <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"
                        style="font-family:Helvetica Neue, Helvetica,
                        Arial, sans-serif;font-size:13px;">
                        <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
                                  style="font-size:8pt;">USC -
                                  Universidade de Santiago de Compostela</span></em></p>
                            <p
                              class="ydpf1472d4cyiv3016035406ydp3a68e8daox-fa029a8a82-default-style"><em><span
                                  style="font-size:8pt;">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 style="font-family:'Helvetica Neue', Helvetica, Arial,
          sans-serif;font-size:13px;color:#26282a;">
          <div> Il sabato 20 febbraio 2021, 18:04:14 CET, Fabio Falchi
            <a class="moz-txt-link-rfc2396E" href="mailto:fabio_falchi@yahoo.it"><fabio_falchi@yahoo.it></a> ha scritto: </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>
            <div id="yiv3016035406">
              <div>
                <div class="yiv3016035406yahoo-style-wrap"
                  style="font-family:Helvetica Neue, Helvetica, Arial,
                  sans-serif;font-size:13px;">
                  <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
                            style="font-size:8pt;">USC - Universidade de
                            Santiago de Compostela</span></em></p>
                      <p
                        class="yiv3016035406ydp3a68e8daox-fa029a8a82-default-style"><em><span
                            style="font-size:8pt;">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">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">-- 
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></pre>
  </body>
</html>