<?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: Example of geometry token syntax? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361557#M15869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The aforementioned tool produces a new field which you can provide a name for and get the units your want if you specify the parameters you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Dec 2018 10:23:22 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-12-02T10:23:22Z</dc:date>
    <item>
      <title>Example of geometry token syntax?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361554#M15866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm trying to find the area of various polygons in a shapefile using a script cursor. I assume I use "SHAPE@AREA" according to this: &lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/reading-geometries.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/get-started/reading-geometries.htm"&gt;Reading geometries—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I also want to specify the units (acres). Right now, I get a lot of numbers that don't seem to make much sense. It looks like I need the getArea method to specify the units: &lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/classes/polygon.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/classes/polygon.htm"&gt;Polygon—ArcPy classes | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I'm wondering, how does the getArea method work? Are there examples of the syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2018 01:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361554#M15866</guid>
      <dc:creator>JonahLay1</dc:creator>
      <dc:date>2018-12-02T01:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Example of geometry token syntax?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361555#M15867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the numbers are small based on what you expect, I think you are most likely working with data that are in decimal degrees.&amp;nbsp; Your life would be a lot simpler if your script simply called&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-geometry-attributes.htm"&gt;Add Geometry Attributes—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and returned the area units in what you want, accounting for the projection that your data need to be in.&amp;nbsp; If you try to do this through an update or other cursor, you will have to account for the projection as well as the unit change. &amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just need the information to be temporary, you can always add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/delete-field.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/delete-field.htm"&gt;Delete Field—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to your workflow to remove the previously added field.&lt;/P&gt;&lt;P&gt;In short, it will cut down on potential errors.&amp;nbsp; (both tools exist in arcmap and ArcGIS pro)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2018 03:33:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361555#M15867</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-02T03:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Example of geometry token syntax?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361556#M15868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Dan! Is there anyway I can add the areas to a new field? I would like to customize the field name and populate it with the areas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2018 06:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361556#M15868</guid>
      <dc:creator>JonahLay1</dc:creator>
      <dc:date>2018-12-02T06:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Example of geometry token syntax?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361557#M15869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The aforementioned tool produces a new field which you can provide a name for and get the units your want if you specify the parameters you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2018 10:23:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361557#M15869</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-02T10:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Example of geometry token syntax?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361558#M15870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-field.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-field.htm"&gt;Calculate Field—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; can take care of this for you, e.g..:&amp;nbsp; &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;!shape.area@ACRES!&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;Python expressions can use the geometry&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace; color: #4c4c4c; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;area&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace; color: #4c4c4c; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;properties with an areal or linear unit to convert the value to a different unit of measure (for example,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, monospace; color: #4c4c4c; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;!shape.length@kilometers!&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 15.9375px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;). If the data is stored in a geographic coordinate system and a linear unit is supplied (for example, miles), the length will be calculated using a geodesic algorithm. Using areal units on geographic data will yield questionable results as decimal degrees are not consistent across the globe.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 15:08:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/example-of-geometry-token-syntax/m-p/361558#M15870</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-12-03T15:08:29Z</dc:date>
    </item>
  </channel>
</rss>

