<?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>idea cellsize or cellSize in Python Ideas</title>
    <link>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idi-p/1090727</link>
    <description>&lt;P&gt;Can we change the spelling of the cellsize parameter in arcpy.PolygonToRaster_conversion()?&lt;BR /&gt;&lt;BR /&gt;It seems that it would be easy to standardized on &lt;STRONG&gt;cellSize&lt;/STRONG&gt; in the API for consistency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;PRE&gt;arcpy.env.cellSize&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;arcpy.PolygonToRaster_conversion(..., &lt;SPAN&gt;cellsize=xxx&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like this would be a quick fix to do a findAndReplace in the API of all spellings of cellsize and convert them to cellSize.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may seem minor, but consistency in the API would prevent these kind of simple errors:&lt;BR /&gt;TypeError: PolygonToRaster() got an unexpected keyword argument 'cellSize'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Aug 2021 07:59:26 GMT</pubDate>
    <dc:creator>TimJohnston5</dc:creator>
    <dc:date>2021-08-20T07:59:26Z</dc:date>
    <item>
      <title>cellsize or cellSize</title>
      <link>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idi-p/1090727</link>
      <description>&lt;P&gt;Can we change the spelling of the cellsize parameter in arcpy.PolygonToRaster_conversion()?&lt;BR /&gt;&lt;BR /&gt;It seems that it would be easy to standardized on &lt;STRONG&gt;cellSize&lt;/STRONG&gt; in the API for consistency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;PRE&gt;arcpy.env.cellSize&lt;/PRE&gt;&lt;PRE&gt;&lt;BR /&gt;arcpy.PolygonToRaster_conversion(..., &lt;SPAN&gt;cellsize=xxx&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like this would be a quick fix to do a findAndReplace in the API of all spellings of cellsize and convert them to cellSize.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may seem minor, but consistency in the API would prevent these kind of simple errors:&lt;BR /&gt;TypeError: PolygonToRaster() got an unexpected keyword argument 'cellSize'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 07:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idi-p/1090727</guid>
      <dc:creator>TimJohnston5</dc:creator>
      <dc:date>2021-08-20T07:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: cellsize or cellSize</title>
      <link>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idc-p/1090739#M79</link>
      <description>&lt;P&gt;one is a property and the other is a parameter, that is probably why the case differences exist so one doesn't confuse them.&amp;nbsp; This enables you to do this&lt;/P&gt;&lt;P&gt;arcpy.PolygonToRaster_conversion(..., cellsize=arcpy.env.cellSize)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 09:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idc-p/1090739#M79</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-08-20T09:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: cellsize or cellSize - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idc-p/1110476#M86</link>
      <description>&lt;P&gt;Thank you for your contribution to the ideas site. At this time, we do not intend to change the method signatures for ArcPy functions, as the all lowercase name is typical for Python keyword arguments and modifying it at this time would break existing code with the current keyword usage. The &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/env.htm" target="_self"&gt;env API&lt;/A&gt; was derived separately and uses mixed case names at the time of its development. A related change we did add at Pro 2.8 is the arcpy.env names will raise an error if passed a name not matching, e.g. arcpy.env.cellsize will raise.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 02:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-ideas/cellsize-or-cellsize/idc-p/1110476#M86</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2021-10-23T02:42:40Z</dc:date>
    </item>
  </channel>
</rss>

