<?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: Processing Raster in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/processing-raster/m-p/697159#M54033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like in&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000w7000000"&gt; ZonalStatisticsAsTable ?&amp;nbsp; &lt;/A&gt;‌which of course requires the Spatial Analyst Extension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 22:18:58 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-02-02T22:18:58Z</dc:date>
    <item>
      <title>Processing Raster</title>
      <link>https://community.esri.com/t5/python-questions/processing-raster/m-p/697158#M54032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question.&amp;nbsp; I have a huge raster of my state (LANDUSE raster with various categories).&amp;nbsp; &lt;/P&gt;&lt;P&gt;I also have a county boundary vector of each county.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What I want to do is clip/mask the Raster to each of the counties&lt;/P&gt;&lt;P&gt;2. sort of scroll through each County Record and use its geometry to run the clip/mask&lt;/P&gt;&lt;P&gt;3. then export each individual raster for each clip/mask.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured that I could use Python to grab each of the records in the County file and then run the mask/clip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better yet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Scroll through each of the Counties&lt;/LI&gt;&lt;LI&gt;Get its geometry&lt;/LI&gt;&lt;LI&gt;Run a statistics on the Raster inside the county and populate fields in the Vector Counties file&lt;OL&gt;&lt;LI&gt; I would have a field for each of the categories in the Raster &lt;/LI&gt;&lt;LI&gt;The result would give the SQ Miles for each Landuse type in the specific county.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But dont know where start.&amp;nbsp; Anyone have any examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 22:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/processing-raster/m-p/697158#M54032</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2015-02-02T22:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Processing Raster</title>
      <link>https://community.esri.com/t5/python-questions/processing-raster/m-p/697159#M54033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like in&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000w7000000"&gt; ZonalStatisticsAsTable ?&amp;nbsp; &lt;/A&gt;‌which of course requires the Spatial Analyst Extension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 22:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/processing-raster/m-p/697159#M54033</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-02T22:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Processing Raster</title>
      <link>https://community.esri.com/t5/python-questions/processing-raster/m-p/697160#M54034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this post you can see some Python code that does part of what you are looking for:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/450316"&gt;Re: Zonal statistics - percentiles&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It loops through the polygons, extracts the raster for each polygon, determines statistics (in this case percentiles) and stores the result in extra fields in the polygon featureclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any problem in adapting the code, just let me know and I will see what I can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 22:19:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/processing-raster/m-p/697160#M54034</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-02-02T22:19:34Z</dc:date>
    </item>
  </channel>
</rss>

