<?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: Resampling a 1m resolution raster to 30m raster(s) while preserving the original in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469164#M26735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Lpinner,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your response!&amp;nbsp; Those commands are exactly what I need.&amp;nbsp; I can run "con" and "aggregate" separately (with limited success for aggregate for some reason) but have problems running the combined code using both con and aggregate.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get an error stating that the cell size and extent aren't defined.&amp;nbsp; I searched around on forums and&amp;nbsp; understand that the computer needs to know the cell size and the extent you're processing over because it doesn't make assumptions about that on its own (which makes sense of course).&amp;nbsp; I tried using arcpy.env.Cellsize and arcpy.env.extent to specify these using the original raster.&amp;nbsp; The computer seemed to accept the commands but I got the same errors using the code you suggested afterwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea where I'm messing up?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ethan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jan 2014 15:32:37 GMT</pubDate>
    <dc:creator>EthanBodnaruk</dc:creator>
    <dc:date>2014-01-06T15:32:37Z</dc:date>
    <item>
      <title>Resampling a 1m resolution raster to 30m raster(s) while preserving the original data</title>
      <link>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469162#M26733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ArcGIS users,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a 1m resolution land cover map with 5 land cover classes.&amp;nbsp; I would like to end up with 5 separate maps each at a 30m resolution that indicates the fraction of each land cover type it contains.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for a given block of 900 pixels (corresponding to 30 x 30) if I had&amp;nbsp; 300, 200, 175, 150, and 75 pixels of each respective land cover type, I would want:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Raster 1:&amp;nbsp; First cell to have value of 300/900&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raster 2:&amp;nbsp; First cell to have value of 200/900&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raster 3:&amp;nbsp; 175/900&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raster 4:&amp;nbsp; 150/900&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raster 5:&amp;nbsp; 75/900&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then of course this would have to be performed for the entire map.&amp;nbsp; So if I had 9 million pixels (9 million square meter study area) I would end up with (9 million divided by 900 &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; 10,000 pixels in each of my new rasters.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a separate raster at a 30 m resolution that I want my new final rasters to conform to spatially.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd appreciate any advice on how to carry this out.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ethan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 13:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469162#M26733</guid>
      <dc:creator>EthanBodnaruk</dc:creator>
      <dc:date>2013-12-20T13:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Resampling a 1m resolution raster to 30m raster(s) while preserving the original</title>
      <link>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469163#M26734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the raster calculator you could use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000034000000"&gt;Aggregate&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000005000000"&gt;Con&lt;/A&gt;&lt;SPAN&gt; functions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Aggregate(Con("landuse_raster" == somenumber, 1, 0), 30, "SUM") / 900.0&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Note replace "somenumber" with the relevant land use code each time you run the calculation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 07:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469163#M26734</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2013-12-29T07:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Resampling a 1m resolution raster to 30m raster(s) while preserving the original</title>
      <link>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469164#M26735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Lpinner,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your response!&amp;nbsp; Those commands are exactly what I need.&amp;nbsp; I can run "con" and "aggregate" separately (with limited success for aggregate for some reason) but have problems running the combined code using both con and aggregate.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get an error stating that the cell size and extent aren't defined.&amp;nbsp; I searched around on forums and&amp;nbsp; understand that the computer needs to know the cell size and the extent you're processing over because it doesn't make assumptions about that on its own (which makes sense of course).&amp;nbsp; I tried using arcpy.env.Cellsize and arcpy.env.extent to specify these using the original raster.&amp;nbsp; The computer seemed to accept the commands but I got the same errors using the code you suggested afterwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea where I'm messing up?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ethan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 15:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469164#M26735</guid>
      <dc:creator>EthanBodnaruk</dc:creator>
      <dc:date>2014-01-06T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Resampling a 1m resolution raster to 30m raster(s) while preserving the original</title>
      <link>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469165#M26736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured it out using the model builder.&amp;nbsp; I don't have to repeat my steps much so it was fine to do this way.&amp;nbsp; Thanks so much!&amp;nbsp; Problem resolved!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 17:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/resampling-a-1m-resolution-raster-to-30m-raster-s/m-p/469165#M26736</guid>
      <dc:creator>EthanBodnaruk</dc:creator>
      <dc:date>2014-01-06T17:19:37Z</dc:date>
    </item>
  </channel>
</rss>

