<?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 Calculate Acreage: ESRI documentation in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1306920#M68121</link>
    <description>&lt;P&gt;We have long used &lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-convert-area-into-acres-000007350#:~:text=Calculate%20the%20value%20for%20acres,square%20meters%20*%200.0002471054%20%3D%20acres" target="_self"&gt;THIS&lt;/A&gt; recommended conversion calculation to determine acreage within our python implementations when working with &lt;A href="mailto:SHAPE@AREA" target="_blank"&gt;SHAPE@AREA&lt;/A&gt;&amp;nbsp;for any geometries in webmercator/sq meters or stateplane/sq feet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any updated documentation or ESRI recommendations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can be a touchy subject and since the above resource is quite old for previous versions of Desktop, I'm just looking to keep current as we migrate to python 3.x and/or the Python API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 13:40:08 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2023-07-10T13:40:08Z</dc:date>
    <item>
      <title>Calculate Acreage: ESRI documentation</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1306920#M68121</link>
      <description>&lt;P&gt;We have long used &lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-convert-area-into-acres-000007350#:~:text=Calculate%20the%20value%20for%20acres,square%20meters%20*%200.0002471054%20%3D%20acres" target="_self"&gt;THIS&lt;/A&gt; recommended conversion calculation to determine acreage within our python implementations when working with &lt;A href="mailto:SHAPE@AREA" target="_blank"&gt;SHAPE@AREA&lt;/A&gt;&amp;nbsp;for any geometries in webmercator/sq meters or stateplane/sq feet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any updated documentation or ESRI recommendations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It can be a touchy subject and since the above resource is quite old for previous versions of Desktop, I'm just looking to keep current as we migrate to python 3.x and/or the Python API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 13:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1306920#M68121</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2023-07-10T13:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Acreage: ESRI documentation</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1307045#M68127</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;The recommended ways of yore which you link is good: project the data into a coordinate system that is appropriate for areal or distance calculation based on your data's extent, then use a calculation like SHAPE.AREA. It's old like you say, maybe there's something more current somewhere. I will say though that WebMercator is pretty much never a good choice for area or distance calculations as it is highly distorted and areal values derived from it will be poor.&amp;nbsp; See&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=UksOGfKrxXk" target="_blank"&gt;https://www.youtube.com/watch?v=UksOGfKrxXk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;A newer way you have access to in Pro is through the shape object.&amp;nbsp; I'd say you'd want to look into this :&amp;nbsp; `SHAPE.getArea(method="PRESERVE_SHAPE", units="AcresInt")` .&amp;nbsp; This you can run on most coordinate systems, as the "PRESERVE_SHAPE" method will unproject the data, drape to geometry over the associated ellipsoid and perform the areal calculation of the shape. It's a bit slower , but removes common mistakes with bad coordinate systems, bad units, etc...&amp;nbsp; Finally i always recommend to use explicit qualified units : eg "AcresInt" (for international) or "AcresUS" (for US unit) , not the unqualified "Acres", for clarity.&lt;/P&gt;&lt;P&gt;Lastly , we have a gp tool called "Calculate Geometry Attributes" which does this PRESERVE_SHAPE pattern for calculating area, you can use that a bit more easily than writing python code (if you want).&amp;nbsp; See &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/tool-reference/data-management/calculate-geometry-attributes.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.0/tool-reference/data-management/calculate-geometry-attributes.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ghislain Prince, Geoprocessing team&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 20:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1307045#M68127</guid>
      <dc:creator>GhislainPrince</dc:creator>
      <dc:date>2023-07-10T20:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Acreage: ESRI documentation</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1307047#M68128</link>
      <description>&lt;P&gt;Thanks for the response!&amp;nbsp; I wasn't very clear on our usage specifically, my fault.&amp;nbsp; We used to have all of our AGS published data in webmercator Aux Sphere and so anything programmatically we would run geometries thru projection to our local planar system (WKID 2881) -- ultimately using the calculation for sqFt in the document I originally referenced.&amp;nbsp; that was all fine!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just curious if there's any updated calculation method as I am currently rebuilding many of our Geoprocessing tools and services for our updated Enterprise/Pro environments.&amp;nbsp; I like having specific ESRI reference to point to, especially as it relates to calculating acreage!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 20:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1307047#M68128</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2023-07-10T20:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Acreage: ESRI documentation</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1307053#M68129</link>
      <description>&lt;P&gt;Thanks for clarification James.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Just in case others post links to more recent versions of the topic you mention. I&lt;/SPAN&gt;'d say the &lt;SPAN&gt;"Calculate Geometry Attributes"&amp;nbsp;gp tool and methods on SHAPE.getArea quite recent additions, so they many not feature on those docs, but they probably should eventually.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 20:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-esri-documentation/m-p/1307053#M68129</guid>
      <dc:creator>GhislainPrince</dc:creator>
      <dc:date>2023-07-10T20:46:37Z</dc:date>
    </item>
  </channel>
</rss>

