<?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: Error with area calculation with Command Line Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441695#M34586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Annett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post the expression you are attempting to run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 11:29:58 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2014-03-14T11:29:58Z</dc:date>
    <item>
      <title>Error with area calculation with Command Line Python</title>
      <link>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441694#M34585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear experts,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to calculate an area field via a command line python expression - but nothing works, I can do PartCount etc. but Shape.area and Shape.length yield the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CalculateField_management itsct1 ID "!SHAPE.area!" PYTHON_9.3 #&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: CalculateField itsct1 ID !SHAPE.area! PYTHON_9.3 # itsct1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Fri Mar 14 12:18:59 2014&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000539: Error running expression: 0,028764146587863 &amp;lt;type 'exceptions.SyntaxError'&amp;gt;: invalid token (&amp;lt;string&amp;gt;, line 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CalculateField).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Time: Fri Mar 14 12:18:59 2014 (Elapsed Time: 0,00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help is much appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Annett&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 10:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441694#M34585</guid>
      <dc:creator>marcolack</dc:creator>
      <dc:date>2014-03-14T10:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error with area calculation with Command Line Python</title>
      <link>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441695#M34586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Annett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post the expression you are attempting to run?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 11:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441695#M34586</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-03-14T11:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error with area calculation with Command Line Python</title>
      <link>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441696#M34587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is this one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CalculateField_management c:\tmp\test.shp area "!SHAPE.area!" PYTHON_9.3 #&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 11:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-area-calculation-with-command-line/m-p/441696#M34587</guid>
      <dc:creator>marcolack</dc:creator>
      <dc:date>2014-03-14T11:44:10Z</dc:date>
    </item>
  </channel>
</rss>

