<?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 Python script to calculate the area (!shape.area!), in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46717#M3749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Python script to calculate the area (!shape.area!),&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to calculate the are in a particular field. I used the script shown in the screenshot below (!shape.area!):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34143[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcGIS quits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might be the issue here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be the proper syntax?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2014 19:40:17 GMT</pubDate>
    <dc:creator>JamalNUMAN</dc:creator>
    <dc:date>2014-05-28T19:40:17Z</dc:date>
    <item>
      <title>Python script to calculate the area (!shape.area!),</title>
      <link>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46717#M3749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Python script to calculate the area (!shape.area!),&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to calculate the are in a particular field. I used the script shown in the screenshot below (!shape.area!):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34143[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ArcGIS quits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might be the issue here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be the proper syntax?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 19:40:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46717#M3749</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-05-28T19:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python script to calculate the area (!shape.area!),</title>
      <link>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46718#M3750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're very close, the correct syntax is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;!Shape!.area&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're in a Projected Coordinate System, you can also use the "Calculate Geometry" option to get area as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 21:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46718#M3750</guid>
      <dc:creator>MattEiben</dc:creator>
      <dc:date>2014-05-28T21:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python script to calculate the area (!shape.area!),</title>
      <link>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46719#M3751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You're very close, the correct syntax is this:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;!Shape!.area&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;If you're in a Projected Coordinate System, you can also use the "Calculate Geometry" option to get area as well.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much Matt. It works fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34184[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 18:25:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46719#M3751</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2014-05-29T18:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python script to calculate the area (!shape.area!),</title>
      <link>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46720#M3752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to throw my ten cents worth in I use the following code: round(!shape.area@hectares!,1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 03:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-to-calculate-the-area-shape-area/m-p/46720#M3752</guid>
      <dc:creator>RoryBennison</dc:creator>
      <dc:date>2015-08-28T03:39:41Z</dc:date>
    </item>
  </channel>
</rss>

