<?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: Can Centroid($feature) be used to populate lat/lon with attribute rule? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1248236#M64248</link>
    <description>&lt;LI-CODE lang="javascript"&gt;return Geometry($feature).Y&lt;/LI-CODE&gt;&lt;P&gt;will only work on point features. Try this instead:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return Centroid(Geometry($feature)).Y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 21:39:26 GMT</pubDate>
    <dc:creator>DrewDowling</dc:creator>
    <dc:date>2023-01-13T21:39:26Z</dc:date>
    <item>
      <title>Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17935#M596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#centroid" title="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#centroid"&gt;Geometry Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;exists but how would one call that to populate separate lat and lon fields with an attribute rule?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 20:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17935#M596</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2020-01-16T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17936#M597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can access the lat/long individually by adding ".X" or ".Y" to the end of Geometry($feature), so your attribute rule would be:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Geometry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Y&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for Latitude, and&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Geometry&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;X&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;for Longitude.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Arcade expression for Latitude" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/478620_Lat.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 20:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17936#M597</guid>
      <dc:creator>KellyKoenig</dc:creator>
      <dc:date>2020-01-16T20:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17937#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attribute rules are so cool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 20:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17937#M598</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2020-01-16T20:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17938#M599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally agree. They're like magic!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 20:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17938#M599</guid>
      <dc:creator>KellyKoenig</dc:creator>
      <dc:date>2020-01-16T20:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17939#M600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to return the geometry in a different coordinate system?&amp;nbsp;For example, my layer is in NAD83 but I would like for the&amp;nbsp;WGS 84 coordinates to auto-populate in the attribute table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2020 20:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/17939#M600</guid>
      <dc:creator>DezsoLovicsek</dc:creator>
      <dc:date>2020-11-05T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1094852#M45125</link>
      <description>&lt;P&gt;Has anyone been able to figure out if it is possible to populate an x,y or for that matter any geometry field (extents for example) in a coordinate system other than the one the feature class is project in?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 11:25:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1094852#M45125</guid>
      <dc:creator>AnneSantaMaria</dc:creator>
      <dc:date>2021-09-02T11:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1173017#M55064</link>
      <description>&lt;P&gt;Hello Kelly,&lt;/P&gt;&lt;P&gt;I'm trying to use this expression in ArcPro 2.9.1 and I get an error. See attached. What am I doing wrong? Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 20:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1173017#M55064</guid>
      <dc:creator>RebeccaBasquez1</dc:creator>
      <dc:date>2022-05-11T20:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1248236#M64248</link>
      <description>&lt;LI-CODE lang="javascript"&gt;return Geometry($feature).Y&lt;/LI-CODE&gt;&lt;P&gt;will only work on point features. Try this instead:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return Centroid(Geometry($feature)).Y&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 21:39:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1248236#M64248</guid>
      <dc:creator>DrewDowling</dc:creator>
      <dc:date>2023-01-13T21:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can Centroid($feature) be used to populate lat/lon with attribute rule?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1281452#M68254</link>
      <description>&lt;P&gt;Is it possible to convert the result? I am working in&amp;nbsp;WGS 1984 UTM Zone 6N and would like the final result in lat/long decimal degrees rather than Northing and Easting.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 19:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-centroid-feature-be-used-to-populate-lat-lon/m-p/1281452#M68254</guid>
      <dc:creator>_Kara_</dc:creator>
      <dc:date>2023-04-21T19:59:02Z</dc:date>
    </item>
  </channel>
</rss>

