<?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: How to update an attribute of a feature based on a geoevent in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148706#M662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still struggling to figure this out if anyone has any suggestions to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 19:27:08 GMT</pubDate>
    <dc:creator>CassidyKillian</dc:creator>
    <dc:date>2017-12-05T19:27:08Z</dc:date>
    <item>
      <title>How to update an attribute of a feature based on a geoevent</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148705#M661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a hard time with the logic/programming setup for updating the status of an area feature(snow plow district) based on a geoevent(trucks entering area).&lt;/P&gt;&lt;P&gt;Specifically what we are trying to do is update the status attribute of the plow district to "active" based on two trucks(avl) entering that area.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help/ideas!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 18:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148705#M661</guid>
      <dc:creator>CassidyKillian</dc:creator>
      <dc:date>2017-11-08T18:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to update an attribute of a feature based on a geoevent</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148706#M662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still struggling to figure this out if anyone has any suggestions to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 19:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148706#M662</guid>
      <dc:creator>CassidyKillian</dc:creator>
      <dc:date>2017-12-05T19:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to update an attribute of a feature based on a geoevent</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148707#M663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cassidy --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've replied to your comments on &lt;A href="https://community.esri.com/message/569774"&gt;field enrichment of multiple attributes based on a spatial query?&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; border: 0px;"&gt;If I understand the question you are asking here, you want to detect when at least two assets are within a work area and update a feature attribute which allows that area to be displayed as "cleared".&amp;nbsp;&lt;/SPAN&gt;For this case, I would recommend taking a look at a scenario / demo illustrated in one of our technical workshops. Here's the URL:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=gexloo9p-UM" title="https://www.youtube.com/watch?v=gexloo9p-UM"&gt;GeoEvent Server: Applying Real-Time Analytics - YouTube&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Jump forward to minute 27:05 ... the scenario I'm fast forwarding to suggests that if you were to ingest the GPS event records from your assets and broadcast those via a stream service, you could synchronize a set of dynamic (point) geofences. You could then periodically poll the (polygon) feature service in which you were maintaining your work area features to process *those* event records separately and use a GeoTagger to detect spatial coincidence with one or more positions of tracked assets.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The scenario goes on to show how you could use a Field Calculator expression to count the number of asset positions (geofences) which intersect the polled work area feature record.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; border: 0px;"&gt;I would probably recommend using a Field Mapper to strip unwanted fields from a polled work area feature record, so that I had only a asset_count attribute and a unique identifier of the work area. I would allow the GeoTagger to create a field -- which coincidentally exists as an attribute field in the work area feature records -- then use a Field Calculator to write a count of the asset identifiers found inside the area to the asset_count. You can use an add/update output to update just the assets_list and the asset_count in the feature class ... and filters to discover if there are "less than two" or "two or more" assets working the area, and update a feature overlay accordingly.&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;-- RJ&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 22:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/how-to-update-an-attribute-of-a-feature-based-on-a/m-p/148707#M663</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2017-12-12T22:25:12Z</dc:date>
    </item>
  </channel>
</rss>

