<?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: Polygon to Raster (Cell Coverage) in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633554#M4260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently based on the Polygon_To_Raster1 image, the area with the RED rectangle, when it converts to Raster, the cell is assigned as NoData, even though the polygon geometry actually cover that cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to convert Polygon to Raster where as long as the polygon geometry overlap the cell (Not only cell center), the cell will be assigned with field value. I will have another script that will implement mathematical formula to each of the cell that is not NoData.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 08:57:36 GMT</pubDate>
    <dc:creator>HenriLim</dc:creator>
    <dc:date>2016-05-16T08:57:36Z</dc:date>
    <item>
      <title>Polygon to Raster (Cell Coverage)</title>
      <link>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633552#M4258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Polygon to Raster tool to create a raster (10x10). The problem is that some cells of the output raster is not assigned any value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that &lt;STRONG&gt;the tool always uses the cell center to decide the value of a raster pixel.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Attached is the result when I overlay both the output raster and Input polygon on ArcMap. (Black is the NoData cell).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee;"&gt;&lt;EM&gt;&lt;STRONG&gt;Anyway to include all those cells that fall within the polygon when generating the raster?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;I tried to use Feature Vertices to Points to generate the point and convert the points to raster, but the vertex of the polygon that I used only have 1 vertex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another item to note is when using smaller cell size (1x1), the raster cell generated are good but when I resample it to 10x10, the output raster from resampling is the same as above raster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 07:32:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633552#M4258</guid>
      <dc:creator>HenriLim</dc:creator>
      <dc:date>2016-05-16T07:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon to Raster (Cell Coverage)</title>
      <link>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633553#M4259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what your problem is here.&lt;/P&gt;&lt;P&gt;It does look like the output raster is doing exactly as you described. Using the cell centre.&lt;/P&gt;&lt;P&gt;All the cells outside your rather artificial example will be no data.&lt;/P&gt;&lt;P&gt;What are you trying to achieve and why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 08:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633553#M4259</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2016-05-16T08:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon to Raster (Cell Coverage)</title>
      <link>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633554#M4260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently based on the Polygon_To_Raster1 image, the area with the RED rectangle, when it converts to Raster, the cell is assigned as NoData, even though the polygon geometry actually cover that cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to convert Polygon to Raster where as long as the polygon geometry overlap the cell (Not only cell center), the cell will be assigned with field value. I will have another script that will implement mathematical formula to each of the cell that is not NoData.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 08:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633554#M4260</guid>
      <dc:creator>HenriLim</dc:creator>
      <dc:date>2016-05-16T08:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon to Raster (Cell Coverage)</title>
      <link>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633555#M4261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It uses the center.&amp;nbsp; The only way to overcome that is to use the Expand tool in the spatial analyst, but this will expand the whole raster by 1 cell which is not what you want.&amp;nbsp; You cannot overcome the imposed conditions for using the tool.&amp;nbsp; Your alternative is to create an array of your desired configuration and use numpyarraytoraster to generate the raster of your configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 09:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/polygon-to-raster-cell-coverage/m-p/633555#M4261</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-16T09:04:24Z</dc:date>
    </item>
  </channel>
</rss>

