<?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 Re: Export Raster - Spatial Reference, Extents, Cell Size in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1334856#M68829</link>
    <description>&lt;P&gt;They are in the Environments tab of Copy Raster&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="copy raster.png" style="width: 162px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82260i78F5F2AABC9E3DEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="copy raster.png" alt="copy raster.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 09:26:01 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-10-04T09:26:01Z</dc:date>
    <item>
      <title>Export Raster - Spatial Reference, Extents, Cell Size</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1334836#M68825</link>
      <description>&lt;P&gt;Hello! I am trying to export a small portion of a large image service and can't seem to find any solutions.&lt;/P&gt;&lt;P&gt;I have been trying to use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-raster.htm" target="_self"&gt;arcpy.management.CopyRaster&lt;/A&gt; and it almost works, but I can't seem to specify a few parameters which are important, namely:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Output Spatial Reference&lt;/LI&gt;&lt;LI&gt;Extents&lt;/LI&gt;&lt;LI&gt;Cell Size&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It was my understanding that the Copy Raster function is meant to be used in place of the Export Raster Geoprocess, however I can't seem to find any documentation on how to specify these properties (please see image below).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricMay1_0-1696401512873.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82259iCF80F54D8BD9BF4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EricMay1_0-1696401512873.png" alt="EricMay1_0-1696401512873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The only option I'm seeing from the Copy Raster function that might work is the 'transform' parameter but I can't find any examples of how to use it and keep getting errors. Perhaps I am using the wrong function?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for any help, it is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 06:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1334836#M68825</guid>
      <dc:creator>EricMay1</dc:creator>
      <dc:date>2023-10-04T06:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster - Spatial Reference, Extents, Cell Size</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1334856#M68829</link>
      <description>&lt;P&gt;They are in the Environments tab of Copy Raster&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="copy raster.png" style="width: 162px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82260i78F5F2AABC9E3DEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="copy raster.png" alt="copy raster.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 09:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1334856#M68829</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-10-04T09:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster - Spatial Reference, Extents, Cell Size</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1335022#M68834</link>
      <description>&lt;P&gt;Thanks Dan, however maybe I should have made it more clear that I'm trying to do this with Python and the ArcPy library.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 16:47:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1335022#M68834</guid>
      <dc:creator>EricMay1</dc:creator>
      <dc:date>2023-10-04T16:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster - Spatial Reference, Extents, Cell Size</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1335041#M68835</link>
      <description>&lt;P&gt;it is fully accessable via python and arcpy, check the help&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/env.htm" target="_blank"&gt;env—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/copy-raster.htm" target="_blank"&gt;Copy Raster (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 17:12:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1335041#M68835</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-10-04T17:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Export Raster - Spatial Reference, Extents, Cell Size</title>
      <link>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1335101#M68839</link>
      <description>&lt;P&gt;Ah, thank you Dan! I see now how to access the environment attributes via Python.&lt;/P&gt;&lt;P&gt;Much appreciated, that solved my issue.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 18:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/export-raster-spatial-reference-extents-cell-size/m-p/1335101#M68839</guid>
      <dc:creator>EricMay1</dc:creator>
      <dc:date>2023-10-04T18:44:47Z</dc:date>
    </item>
  </channel>
</rss>

