<?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: Change/Transform Geometry in Expression in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/1539347#M61521</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108" target="_self"&gt;&lt;SPAN class=""&gt;XanderBakke&lt;/SPAN&gt;&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;There is any new in projections in arcade or they're not supported yet&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 11:06:41 GMT</pubDate>
    <dc:creator>GSala</dc:creator>
    <dc:date>2024-09-17T11:06:41Z</dc:date>
    <item>
      <title>Change/Transform Geometry in Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/552435#M27928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display the coordinates of points in AGOL in WKID 4326. &lt;BR /&gt;However, since the reference system of the map is different I get this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Cannot create Geometry in this SpatialReference. &lt;BR /&gt;Engine is using a different spatial reference.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to project the geometry using Arcade?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 03:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/552435#M27928</guid>
      <dc:creator>MarcoPoetsch_ret</dc:creator>
      <dc:date>2019-01-21T03:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change/Transform Geometry in Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/552436#M27929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/41620" target="_blank"&gt;Marco Poetsch&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projection is not supported in the Arcade expression (yet). So in theory it is not possible to&amp;nbsp;apply a projection in an Arcade expression. However, I have used a rather simple function to transform a&amp;nbsp;point in Web Mercator Auxialiary Sphere to WGS 1984:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;MetersToLatLon&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// Converts XY point from Spherical Mercator EPSG:900913 to lat/lon in WGS84 Datum&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;&lt;SPAN&gt;// Fuente: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.maptiler.org%2Fgoogle-maps-coordinates-tile-bounds-projection%2F" target="_blank"&gt;http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/&lt;/A&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; originShift &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2.0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; PI &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;6378137.0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; lon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; originShift&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;180.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; lat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;y &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; originShift&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;180.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; lat &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;180.0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; PI &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2.0&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Atan&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Exp&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; lat &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; PI &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;180.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; PI &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;lat&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lon&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this to create hyperlinks to Waze, Streetview and prefill a Survey123 surfey with a location. An example of how this is done (in Spanish) can be found here:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-11541-crear-un-enlace-para-navegar-con-waze-en-la-ventana-emergente-con-arcade" target="_blank"&gt;https://community.esri.com/docs/DOC-11541-crear-un-enlace-para-navegar-con-waze-en-la-ventana-emergente-con-arcade&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:53:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/552436#M27929</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T23:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change/Transform Geometry in Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/1539347#M61521</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108" target="_self"&gt;&lt;SPAN class=""&gt;XanderBakke&lt;/SPAN&gt;&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;There is any new in projections in arcade or they're not supported yet&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 11:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/1539347#M61521</guid>
      <dc:creator>GSala</dc:creator>
      <dc:date>2024-09-17T11:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change/Transform Geometry in Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/1604901#M64389</link>
      <description>&lt;P&gt;Hi Xander,&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have one that goes from 3857 to 2236, state plane XY?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 18:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/change-transform-geometry-in-expression/m-p/1604901#M64389</guid>
      <dc:creator>BigLouC</dc:creator>
      <dc:date>2025-04-10T18:35:16Z</dc:date>
    </item>
  </channel>
</rss>

