<?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: Create raster Datasets with Proportional Value Allocation in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-raster-datasets-with-proportional-value/m-p/181059#M10213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to create raster data sets from census block groups of a state that result in proportional allocation based on the density of the block group it is taking the value from.&lt;BR /&gt;&lt;BR /&gt;Essentially, I am trying to create a raster like the one in the second picture on this website:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sedac.ciesin.columbia.edu/data/collection/gpw-v3/methods/grid" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sedac.ciesin.columbia.edu/data/collection/gpw-v3/methods/grid&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried searching all over the place including in all of the related toolboxes within ArcGIS.&lt;BR /&gt;&lt;BR /&gt;Has anyone ever created raster files like this before? Is there an easy way to proportionally allocate quantitative data in a raster?&lt;BR /&gt;&lt;BR /&gt;I would appreciate any advice.&lt;BR /&gt;&lt;BR /&gt;Than&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Eric- you may have figured this out already, but one technique is to rasterize the source polygons, then create a count of cells within the block group, then use that to divide the block group population.&amp;nbsp; Something like this (ArcGIS 10.2.2):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; Create the cell count raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pyLURas = Lookup(pyNonZeroPop,"Count")

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Divide population raster by cell count raster; 'distributes' values into each cell in output
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outDistRas = Float(pyNonZeroPop) / Float(pyLURas)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outDistRas.save(outputDistRaster)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, you can check the values by running zonal stats (Sum) on the outputDistRaster - sum should be equal to block group population (or nearly, given rounding, etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lisa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 09:15:29 GMT</pubDate>
    <dc:creator>LisaNelson</dc:creator>
    <dc:date>2021-12-11T09:15:29Z</dc:date>
    <item>
      <title>Create raster Datasets with Proportional Value Allocation</title>
      <link>https://community.esri.com/t5/data-management-questions/create-raster-datasets-with-proportional-value/m-p/181058#M10212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to create raster data sets from census block groups of a state that result in proportional allocation based on the density of the block group it is taking the value from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Essentially, I am trying to create a raster like the one in the second picture on this website:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sedac.ciesin.columbia.edu/data/collection/gpw-v3/methods/grid"&gt;http://sedac.ciesin.columbia.edu/data/collection/gpw-v3/methods/grid&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried searching all over the place including in all of the related toolboxes within ArcGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone ever created raster files like this before? Is there an easy way to proportionally allocate quantitative data in a raster?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Than&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-raster-datasets-with-proportional-value/m-p/181058#M10212</guid>
      <dc:creator>EricShehadi</dc:creator>
      <dc:date>2014-06-19T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create raster Datasets with Proportional Value Allocation</title>
      <link>https://community.esri.com/t5/data-management-questions/create-raster-datasets-with-proportional-value/m-p/181059#M10213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to create raster data sets from census block groups of a state that result in proportional allocation based on the density of the block group it is taking the value from.&lt;BR /&gt;&lt;BR /&gt;Essentially, I am trying to create a raster like the one in the second picture on this website:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sedac.ciesin.columbia.edu/data/collection/gpw-v3/methods/grid" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sedac.ciesin.columbia.edu/data/collection/gpw-v3/methods/grid&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have tried searching all over the place including in all of the related toolboxes within ArcGIS.&lt;BR /&gt;&lt;BR /&gt;Has anyone ever created raster files like this before? Is there an easy way to proportionally allocate quantitative data in a raster?&lt;BR /&gt;&lt;BR /&gt;I would appreciate any advice.&lt;BR /&gt;&lt;BR /&gt;Than&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Eric- you may have figured this out already, but one technique is to rasterize the source polygons, then create a count of cells within the block group, then use that to divide the block group population.&amp;nbsp; Something like this (ArcGIS 10.2.2):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&amp;nbsp; Create the cell count raster
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pyLURas = Lookup(pyNonZeroPop,"Count")

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Divide population raster by cell count raster; 'distributes' values into each cell in output
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outDistRas = Float(pyNonZeroPop) / Float(pyLURas)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outDistRas.save(outputDistRaster)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, you can check the values by running zonal stats (Sum) on the outputDistRaster - sum should be equal to block group population (or nearly, given rounding, etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lisa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-raster-datasets-with-proportional-value/m-p/181059#M10213</guid>
      <dc:creator>LisaNelson</dc:creator>
      <dc:date>2021-12-11T09:15:29Z</dc:date>
    </item>
  </channel>
</rss>

