<?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 Arcade geometry expression in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379676#M57352</link>
    <description>&lt;P&gt;Hello.&lt;BR /&gt;I don't know how to use Arcade yet.&lt;BR /&gt;I want to make a conditional display with the data of a table in the form of dots of different colors. Each row of the table contains columns with x and y coordinates and A and B data. I want an arcade code to display the data on the map as follows:&lt;BR /&gt;- if A is greater than B, then display the points in yellow&lt;BR /&gt;- if A is equal to B, then display the points in blue&lt;BR /&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christg_1-1707404127133.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94076i181F99EDC476F7BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christg_1-1707404127133.png" alt="christg_1-1707404127133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 14:57:26 GMT</pubDate>
    <dc:creator>christg</dc:creator>
    <dc:date>2024-02-08T14:57:26Z</dc:date>
    <item>
      <title>Arcade geometry expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379676#M57352</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;I don't know how to use Arcade yet.&lt;BR /&gt;I want to make a conditional display with the data of a table in the form of dots of different colors. Each row of the table contains columns with x and y coordinates and A and B data. I want an arcade code to display the data on the map as follows:&lt;BR /&gt;- if A is greater than B, then display the points in yellow&lt;BR /&gt;- if A is equal to B, then display the points in blue&lt;BR /&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="christg_1-1707404127133.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94076i181F99EDC476F7BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="christg_1-1707404127133.png" alt="christg_1-1707404127133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 14:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379676#M57352</guid>
      <dc:creator>christg</dc:creator>
      <dc:date>2024-02-08T14:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade geometry expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379740#M57354</link>
      <description>&lt;P&gt;Dear Christg,&lt;BR /&gt;I hope you are well,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use this Arcade script for separating the points based on Data A and Data B field values.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var column1 = $feature.Data A; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var column2 = $feature.Data B; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if (column1 &amp;gt; column2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{ return "#FFFF00"; // Yellow color } &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else { return "#0000FF"; // Blue color }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379740#M57354</guid>
      <dc:creator>Amir-Sarrafzadeh-Arasi</dc:creator>
      <dc:date>2024-02-08T16:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade geometry expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379743#M57355</link>
      <description>&lt;P&gt;Simple enough! Keep in mind that when working with Arcade for symbology, you will get &lt;EM&gt;categories&lt;/EM&gt;.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Iif($feature.A &amp;gt; $feature.B,
  'Yellow',
  'Blue'
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's still up to you to go into each category and adjust the color.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1707408154987.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94093iDF7D2219298F6084/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1707408154987.png" alt="jcarlson_0-1707408154987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379743#M57355</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-02-08T16:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade geometry expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379789#M57357</link>
      <description>&lt;P&gt;thank you very much. it worked well.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:56:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379789#M57357</guid>
      <dc:creator>christg</dc:creator>
      <dc:date>2024-02-08T16:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade geometry expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379790#M57358</link>
      <description>&lt;P&gt;thank you very much. much appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-geometry-expression/m-p/1379790#M57358</guid>
      <dc:creator>christg</dc:creator>
      <dc:date>2024-02-08T16:57:35Z</dc:date>
    </item>
  </channel>
</rss>

