<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Set raster layer resampling using python script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288176#M67617</link>
    <description>&lt;P&gt;I have created a python script that creates a series of point layers and kernel density layers. I want to set the rendering resamplying type to cubic for this density layer. After doing a bit of googling all I have found is the arcpy.management.resample (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/resample.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/resample.htm&lt;/A&gt;), but I am looking to resample the rendering as seen is this screen capture. The resampling technique in the link, does not appear to be the same as the one in the screen capture. Any assistance would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KristieReece_0-1683816808257.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70420iA0F839949B45193F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KristieReece_0-1683816808257.png" alt="KristieReece_0-1683816808257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 14:54:45 GMT</pubDate>
    <dc:creator>KristieReece</dc:creator>
    <dc:date>2023-05-11T14:54:45Z</dc:date>
    <item>
      <title>Set raster layer resampling using python script</title>
      <link>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288176#M67617</link>
      <description>&lt;P&gt;I have created a python script that creates a series of point layers and kernel density layers. I want to set the rendering resamplying type to cubic for this density layer. After doing a bit of googling all I have found is the arcpy.management.resample (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/resample.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/resample.htm&lt;/A&gt;), but I am looking to resample the rendering as seen is this screen capture. The resampling technique in the link, does not appear to be the same as the one in the screen capture. Any assistance would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KristieReece_0-1683816808257.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70420iA0F839949B45193F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KristieReece_0-1683816808257.png" alt="KristieReece_0-1683816808257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 14:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288176#M67617</guid>
      <dc:creator>KristieReece</dc:creator>
      <dc:date>2023-05-11T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set raster layer resampling using python script</title>
      <link>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288203#M67619</link>
      <description>&lt;P&gt;Looks like the resampling method you're looking for is maybe in the environment settings? &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/environment-settings/resampling-method.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/environment-settings/resampling-method.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 15:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288203#M67619</guid>
      <dc:creator>ChrisRingo</dc:creator>
      <dc:date>2023-05-11T15:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set raster layer resampling using python script</title>
      <link>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288260#M67624</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;I executed the code from that link, but I'm not entirely sure what it is changing. I ran the Kernel Density tool again and it still produces the same output. I will investigate it a bit further though as this was not a resource I had previously seen. Thanks for sharing it!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Kristie&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 17:09:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288260#M67624</guid>
      <dc:creator>KristieReece</dc:creator>
      <dc:date>2023-05-11T17:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set raster layer resampling using python script</title>
      <link>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288317#M67628</link>
      <description>&lt;P&gt;I believe the resampling method environ setting only applies to GP tools that honor that setting.&lt;/P&gt;&lt;P&gt;When you set Resampling Type in the Raster layer Rendering tab as in your attached pic, that is only for displaying the raster, and doesn't change the data at all.&lt;/P&gt;&lt;P&gt;You can change the default method in the options so that it will always render raster with that type, but don't know of a way to get at this with code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1683830881870.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/70455i4739103CE759AB17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_0-1683830881870.png" alt="RhettZufelt_0-1683830881870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 18:49:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1288317#M67628</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-11T18:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set raster layer resampling using python script</title>
      <link>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1289073#M67643</link>
      <description>&lt;P&gt;I updated those settings as displayed in your image, unfortunately, it still does not provide the smoothed visual that the rendering tab setting achieves. Thank you for the info! I suppose we will just have to edit that setting by hand.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 11:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/set-raster-layer-resampling-using-python-script/m-p/1289073#M67643</guid>
      <dc:creator>KristieReece</dc:creator>
      <dc:date>2023-05-15T11:02:42Z</dc:date>
    </item>
  </channel>
</rss>

