<?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>idea Arcade function to return X,Y in coordinate system other than that of the source data in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idi-p/1060371</link>
    <description>&lt;P&gt;For background, we have a polygon dataset that changes frequently. In the polygon data we need to maintain XY values for the centroid of each polygon to pass to related inspection records (point). The related inspections get their geometry from the centroid of the polygon data (passed to the Survey123 in the submission URL).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We would like to use Arcade plus an attribute rule to automatically update the centroid XY each time the polygon's shape is modified. The problem is that our data is stored in Albers(meter), but we need the XY to be stored in Decimal Degrees. As far as we know, there isn't a way to specify which coordinate system the XY results are returned/displayed/stored in Arcade.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Right now, we have our staff manually run the calculate geometry attributes geoprocessing tool each time a shape is modified. If we could set this up in an attribute rule, it would save a lot of manual maintenance on the dataset.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 21:59:32 GMT</pubDate>
    <dc:creator>MatthewAlbritton</dc:creator>
    <dc:date>2022-03-03T21:59:32Z</dc:date>
    <item>
      <title>Arcade function to return X,Y in coordinate system other than that of the source data</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idi-p/1060371</link>
      <description>&lt;P&gt;For background, we have a polygon dataset that changes frequently. In the polygon data we need to maintain XY values for the centroid of each polygon to pass to related inspection records (point). The related inspections get their geometry from the centroid of the polygon data (passed to the Survey123 in the submission URL).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We would like to use Arcade plus an attribute rule to automatically update the centroid XY each time the polygon's shape is modified. The problem is that our data is stored in Albers(meter), but we need the XY to be stored in Decimal Degrees. As far as we know, there isn't a way to specify which coordinate system the XY results are returned/displayed/stored in Arcade.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Right now, we have our staff manually run the calculate geometry attributes geoprocessing tool each time a shape is modified. If we could set this up in an attribute rule, it would save a lot of manual maintenance on the dataset.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 21:59:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idi-p/1060371</guid>
      <dc:creator>MatthewAlbritton</dc:creator>
      <dc:date>2022-03-03T21:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to return X,Y in coordinate system other than that of the source data</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idc-p/1060475#M16007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17859"&gt;@MatthewAlbritton&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It will be super handy to have spatial related values calculated dynamically!&lt;/P&gt;&lt;P&gt;Something like&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sql/t-sql/spatial-geometry/ogc-methods-on-geometry-instances?view=sql-server-ver15" target="_blank"&gt;OGC Methods on Geometry Instances - SQL Server | Microsoft Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Allowing users to utilize arcade to extract centroid, X, Y, length, area, EPSG Id, and bbox etc.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Reno&lt;/P&gt;&lt;DIV class="lia-message-author-avatar lia-component-author-avatar lia-component-message-view-widget-author-avatar"&gt;&lt;DIV class="UserAvatar lia-user-avatar lia-component-common-widget-user-avatar"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 May 2021 16:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idc-p/1060475#M16007</guid>
      <dc:creator>rsun_TQB</dc:creator>
      <dc:date>2021-05-21T16:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade function to return X,Y in coordinate system other than that of the source data</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idc-p/1551308#M32506</link>
      <description>&lt;P&gt;Our organization would also like to be able to make XY calculations using Arcade with different coordinate systems. We can do it with python and arcpy, but we would really like to take advantage of attribute rules to handle this automatically.&lt;/P&gt;&lt;P&gt;Some use cases:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Getting decimal degrees in WGS 1984 Web Mercator Auxiliary Sphere for points so volunteers can use a familiar format that also works in older GPS devices.&lt;/LI&gt;&lt;LI&gt;Getting decimal degrees in a custom county coordinate system to be able to better collaborate with county staff on projects.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 23 Oct 2024 14:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcade-function-to-return-x-y-in-coordinate-system/idc-p/1551308#M32506</guid>
      <dc:creator>BrettFrahm</dc:creator>
      <dc:date>2024-10-23T14:32:05Z</dc:date>
    </item>
  </channel>
</rss>

