<?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 Generating Tracks from Events in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/generating-tracks-from-events/m-p/574276#M2528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am updating the locations of vessels with the ExactEarth connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have another layer in my feature service which is a line layer and I want to generate historical tracks of the vessels as they move around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sending the events to an 'update features' output connector, and pointing the incoming stream (which is just XY coords for the locations per vessel) does not create tracks (as you would expect).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I go about achieving this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2014 05:42:02 GMT</pubDate>
    <dc:creator>SimonJackson</dc:creator>
    <dc:date>2014-04-14T05:42:02Z</dc:date>
    <item>
      <title>Generating Tracks from Events</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/generating-tracks-from-events/m-p/574276#M2528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am updating the locations of vessels with the ExactEarth connector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have another layer in my feature service which is a line layer and I want to generate historical tracks of the vessels as they move around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sending the events to an 'update features' output connector, and pointing the incoming stream (which is just XY coords for the locations per vessel) does not create tracks (as you would expect).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I go about achieving this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 05:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/generating-tracks-from-events/m-p/574276#M2528</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2014-04-14T05:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Generating Tracks from Events</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/generating-tracks-from-events/m-p/574277#M2529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hello Simon -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have an item in our backlog to develop a processor which will do what I think you are describing - take X/Y (or lat/lon) points from an asset's last reported position, treat them as vertices, and use the vertex to update a polyline feature to build a track line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;&lt;STRONG&gt;Add a feature&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;&lt;STRONG&gt;Update a Feature&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt; outbound connectors will only work with the geometry of the target feature service's feature layer. If the service's feature layer has point geometry, the X/Y (or lat/lon) values received will either add new or update existing point features. If you wanted to use these GEP outputs to update a polyline or polygon the Geometry received with the event would need to be a polyline feature or a polygon feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With the 10.2.x releases you might be able to &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through; font-style: italic;"&gt;use an Incident Detector processor&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to build a track line. You would select &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;Polyline&lt;/SPAN&gt;&lt;SPAN&gt; for the processor's &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;Geometry Type&lt;/SPAN&gt;&lt;SPAN&gt; to configure the processor to build and update a polyline rather than point features. You will also need to make sure that the &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;Incident Type&lt;/SPAN&gt;&lt;SPAN&gt; is &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;Cumulative&lt;/SPAN&gt;&lt;SPAN&gt; (not &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;PointInTime&lt;/SPAN&gt;&lt;SPAN&gt;) ... and set the processor's &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;Expiry Time&lt;/SPAN&gt;&lt;SPAN&gt; to a sufficiently high value that the incident will not be automatically closed when no updates are received for a period of time; the default is 300 seconds (5 minutes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f6000; background: #FFF2CC; font-size: 9.5pt;"&gt;&lt;STRONG&gt;Update: March 2019&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #993300; font-size: 10.0pt;"&gt;&lt;STRONG&gt;I am retracting my advice above to possibly use an Incident Detector processor to build track lines for assets whose positions are being periodically reported as point locations. This approach would rely on the Incident Manager &lt;SPAN style="font-size: 10.0pt; color: #993300;"&gt;–&lt;/SPAN&gt;&amp;nbsp;a server-side component to which you have read-only access through the GeoEvent Server administrative API &lt;SPAN style="color: #993300; font-size: 10.0pt;"&gt;&lt;STRONG&gt;–&lt;/STRONG&gt;&lt;/SPAN&gt; to maintain an audit history with a guid, timestamp, and point geometry, for every event record received which satisfies the Incident Detector's opening condition. The polyline geometry output from the Incident Detector processor is built from this audit history. I didn't think about it at the time, but it obvious to me now that maintaining an open/ongoing incident record for all assets you are tracking in order to have Incident Detector output an updated polyline geometry is going to consume more and more RAM until the JVM heap is full. Unless you include a way of periodically closing incidents so that GeoEvent Server can use its ability to maintain a fixed number of "ongoing" and "closed" incidents with a reasonable audit history, using an Incident Detector to build a track line is a very bad idea.&amp;nbsp; Sorry ...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #993300; font-size: 10.0pt;"&gt;&lt;STRONG&gt;The correct approach to this problem is to use GeoEvent Server to receive and persist locations reported in real-time, allow feature records to accumulate in a feature class, then use GeoAnalytics Server to periodically run a batch analysis and reconstruct tracks. You can read more about that capability here:&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fpro.arcgis.com%2Fen%2Fpro-app%2Ftool-reference%2Fbig-data-analytics%2Freconstruct-tracks.htm"&gt;Reconstruct Tracks&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this information helps -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RJ&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/generating-tracks-from-events/m-p/574277#M2529</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2014-04-14T15:43:32Z</dc:date>
    </item>
  </channel>
</rss>

