<?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: Calculate acreage in the Calculate field tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70410#M5759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've used the methods you have described, first using the python expression !shape.area@acres! and using the calculate geometry function in ArcMap 10.&amp;nbsp; I set the precision&amp;nbsp; and scale to 0.&amp;nbsp; I get slightly different acreage amounts.&amp;nbsp; Not a big deal unless I am calculating small parcels or I'm figuring acreage for $ cost.&amp;nbsp; Has anyone come across this discrepancy or am I doing something wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2013 16:46:09 GMT</pubDate>
    <dc:creator>PamJannise</dc:creator>
    <dc:date>2013-09-19T16:46:09Z</dc:date>
    <item>
      <title>Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70404#M5753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, so I am working on a model that is mostly just a series of tools.&amp;nbsp; However I have dissolved 2 data layers within the model and I wish to calculate the acreage of the 2 new layers which each consist of only 1 feature each. I have added the Add Field tool for both of my outputs and now need to calculate the field value within the model using the calculate field tool.&amp;nbsp; The problem is that I am a complete beginner in python and have no idea how to go about scripting this. It doesn't seem like this should be too much of an issue, but nothing I have found so far in the forum has helped me out. Anybody have any ideas? I still have to figure out how to calculate the percentage of overlap between the 2 layers after I get within my model as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Derek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 19:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70404#M5753</guid>
      <dc:creator>DerekNewland</dc:creator>
      <dc:date>2012-12-14T19:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70405#M5754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're scripting, so you can use the Calculate Field tool to work this out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See this link, it provides examples to Calc Field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Calculate_Field_examples/005s0000002m000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Calculate_Field_examples/005s0000002m000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example in your case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Parser:
Python

Expression:
!shape.area@acres!&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Side note - you can do a "Calculate Geometry" within the app, see the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//005s00000027000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//005s00000027000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70405#M5754</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2021-12-10T22:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70406#M5755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wait, it's really that simple?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 19:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70406#M5755</guid>
      <dc:creator>DerekNewland</dc:creator>
      <dc:date>2012-12-14T19:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70407#M5756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unless I didn't understand your question completely, then yeah it should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You said:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I wish to calculate the acreage of the 2 new layers which each consist of only 1 feature each.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The instructions I gave will calc a field for a given layer. 1 to many features inside each layer will have their own acreage calculated on a per feature basis. So if I understand what you want to do, you'll have to do 2 calcs, once for each layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 19:59:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70407#M5756</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-12-14T19:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70408#M5757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes that is exactly what I was looking to do.&amp;nbsp; Now I just need to figure out the percentage of the acreage overlapped by the two layers within the model.&amp;nbsp; I should post a new thread for the that question though correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Derek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 20:05:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70408#M5757</guid>
      <dc:creator>DerekNewland</dc:creator>
      <dc:date>2012-12-14T20:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70409#M5758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at the post Dale has in this thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/35219-Overlapping-polygons-cover-percentage"&gt;http://forums.arcgis.com/threads/35219-Overlapping-polygons-cover-percentage&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;He does a better job of explaining than I ever could....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 20:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70409#M5758</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2012-12-14T20:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70410#M5759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've used the methods you have described, first using the python expression !shape.area@acres! and using the calculate geometry function in ArcMap 10.&amp;nbsp; I set the precision&amp;nbsp; and scale to 0.&amp;nbsp; I get slightly different acreage amounts.&amp;nbsp; Not a big deal unless I am calculating small parcels or I'm figuring acreage for $ cost.&amp;nbsp; Has anyone come across this discrepancy or am I doing something wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 16:46:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70410#M5759</guid>
      <dc:creator>PamJannise</dc:creator>
      <dc:date>2013-09-19T16:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70411#M5760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've used the methods you have described, first using the python expression !shape.area@acres! and using the calculate geometry function in ArcMap 10.&amp;nbsp; I set the precision&amp;nbsp; and scale to 0.&amp;nbsp; I get slightly different acreage amounts.&amp;nbsp; Not a big deal unless I am calculating small parcels or I'm figuring acreage for $ cost.&amp;nbsp; Has anyone come across this discrepancy or am I doing something wrong?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How different? They might be using different algorithms behind the scenes or there are differences in the math engines between the two languages. I think a lot of times to make the code efficient, stuff is written to calculate a value that is "good enough" rather than an exact value (sort of float vs fraction, i.e. 0.3333333333 vs 1/3). The descrepancy is usually pretty miniscule, but can still come into play depending on the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if accuracy is really important, it's probably a good idea to research how well the projection you're using preserves area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 18:07:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70411#M5760</guid>
      <dc:creator>MattSayler</dc:creator>
      <dc:date>2013-09-19T18:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate acreage in the Calculate field tool</title>
      <link>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70412#M5761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that makes sense.&amp;nbsp; The error isn't large, &amp;lt;10 per 185,000 acres but if I have to answer to a landowner I need to tell them a reason!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 18:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-acreage-in-the-calculate-field-tool/m-p/70412#M5761</guid>
      <dc:creator>PamJannise</dc:creator>
      <dc:date>2013-09-19T18:51:56Z</dc:date>
    </item>
  </channel>
</rss>

