<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>What kind of raster file? What format and what specifics?</p>
    <p>I'd recommend you use a format that is binary and internally
      tiled, e.g. GeoTIFF with TILES=YES. That way access to such areas
      is as efficient as can be.</p>
    <p>49 neighbors is quite excessive, maybe simply downsampling your
      raster with an appropriate filter/interpolator would achieve the
      result you need?<br>
    </p>
    <div class="moz-cite-prefix">On 17.03.24 15:25, Langers, Fransje via
      QGIS-User wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:AM9PR01MB8377DA8EE03984FEA1ECCB308F2E2@AM9PR01MB8377.eurprd01.prod.exchangelabs.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Verdana",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB">I work with QGIS 3.34.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB">I have a raster input file, with cell size
            5*5m, and with values 1 and 0.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB">I want to use r.neighbors (operation average),
            .
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB">When I choose a small neighborhood size of 3,
            everything goes fine.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB">For my analyses I need to choose a neighborhood
            size of 49 (representing a 250m diameter).
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB">It seems this operation is too large, as I get
            no result (not responding). What can I do?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana",sans-serif"
            lang="EN-GB"><o:p> </o:p></span></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></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">-- 
Johannes Kröger / GIS-Entwickler/-Berater

*********************************************
FOSSGIS Konferenz
20.-23. März 2024 in Hamburg
<a class="moz-txt-link-freetext" href="https://www.fossgis-konferenz.de/2024/">https://www.fossgis-konferenz.de/2024/</a>

WhereGroup-Beiträge auf der FOSSGIS
<a class="moz-txt-link-freetext" href="https://wheregroup.com/unternehmen/aktuelles/">https://wheregroup.com/unternehmen/aktuelles/</a>
*********************************************

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

<a class="moz-txt-link-abbreviated" href="mailto:johannes.kroeger@wheregroup.com">johannes.kroeger@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm 
Amtsgericht Bonn, HRB 9885
-------------------------------
</pre>
  </body>
</html>