<?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: Check $feature geometry type in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317783#M1042</link>
    <description>&lt;P&gt;You could also use&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Lower(Geometry($feature).type)&lt;/LI-CODE&gt;&lt;P&gt;For me the surrounding "Lower()" was needed in order to get lower case results (e.g. "polygon").&lt;/P&gt;&lt;P&gt;For more information about the "Geometry" object and its properties:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#geometry" target="_blank"&gt;Data Types | ArcGIS Arcade | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 06:29:39 GMT</pubDate>
    <dc:creator>ChristophKoschmieder</dc:creator>
    <dc:date>2023-08-11T06:29:39Z</dc:date>
    <item>
      <title>Check $feature geometry type</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317616#M1039</link>
      <description>&lt;P&gt;I have code that reused on different feature classes that does a basic intersects functionality to retrieve field values and insert into the $feature. Yet the code should by pass some functions if $feature is a point feature class verses $feature being a polygon feature. Is this possible?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if (Geometry($feature)== "point"){
# do this
}
if (Geometry($feature)== "polygon"){
# do that
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Something to that effect.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;~JS&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317616#M1039</guid>
      <dc:creator>Jake_S</dc:creator>
      <dc:date>2023-08-10T19:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Check $feature geometry type</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317633#M1040</link>
      <description>&lt;P&gt;Haven't tried it, but I think you could use Geometry type for that.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1691696580907.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77886iADF26340D9CB354B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_0-1691696580907.png" alt="RhettZufelt_0-1691696580907.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317633#M1040</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-08-10T19:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Check $feature geometry type</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317644#M1041</link>
      <description>&lt;P&gt;Brilliant&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530"&gt;@RhettZufelt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 20:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317644#M1041</guid>
      <dc:creator>Jake_S</dc:creator>
      <dc:date>2023-08-10T20:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Check $feature geometry type</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317783#M1042</link>
      <description>&lt;P&gt;You could also use&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Lower(Geometry($feature).type)&lt;/LI-CODE&gt;&lt;P&gt;For me the surrounding "Lower()" was needed in order to get lower case results (e.g. "polygon").&lt;/P&gt;&lt;P&gt;For more information about the "Geometry" object and its properties:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/types/#geometry" target="_blank"&gt;Data Types | ArcGIS Arcade | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 06:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/check-feature-geometry-type/m-p/1317783#M1042</guid>
      <dc:creator>ChristophKoschmieder</dc:creator>
      <dc:date>2023-08-11T06:29:39Z</dc:date>
    </item>
  </channel>
</rss>

