<?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: XML can I use this source? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522970#M2328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Hello William –&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;I had no problems bringing in your traffic incidents feed from the City of Baton Rouge. I had to remove the input’s default &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051;"&gt;'application/xml&lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;' specification from my configured GeoEvent input's &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051;"&gt;'Acceptable MIME Types’&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt; parameter. I also had to specify &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincident&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;as the '&lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, Geneva, sans-serif;"&gt;XML Object Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;' so that the input would know how to extract individual events from the feed's structure.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;I cannot be sure from the feed whether using the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;location_number&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt; attribute as a TRACK_ID is appropriate. Identifying a field within the feed's data which can be used to uniquely identify each event will be fairly important. The input is receiving all available event records every polling cycle, and if we elect to broadcast the event data out a stream service, or update features in a feature service, we'll need a TRACK_ID in order to visualize the data properly on a map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Because the feed’s structure includes the date as an attribute of the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincidentlist&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;structure, rather than as part of each &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincident&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;item, we have a small challenge to overcome. More on that in a moment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Attached are illustrations of my configuration of the ‘&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051;"&gt;Poll an External Website for XML&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;‘ input and the GeoEvent Definition I configured my input to use. I allowed the input to create an initial GeoEvent Definition for me, then copied the generated one and configured my input to use my copy of the event definition. This is a fairly simple best practice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Hope this information helps –&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;RJ&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 22:18:37 GMT</pubDate>
    <dc:creator>RJSunderman</dc:creator>
    <dc:date>2015-08-04T22:18:37Z</dc:date>
    <item>
      <title>XML can I use this source?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522968#M2326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://brgov.com/reports/public/brtrxml.xml" title="http://brgov.com/reports/public/brtrxml.xml"&gt;http://brgov.com/reports/public/brtrxml.xml&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the active traffic incidents from our dispatch system.&amp;nbsp; Any help would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 19:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522968#M2326</guid>
      <dc:creator>WilliamMeyers1</dc:creator>
      <dc:date>2015-07-08T19:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: XML can I use this source?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522969#M2327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the documentation, you can use XML:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.arcgis.com/en/geoevent-extension/latest/process-event-data/input-connectors.htm" title="http://server.arcgis.com/en/geoevent-extension/latest/process-event-data/input-connectors.htm"&gt;Input Connectors—Real-time Data Feeds and Sensors (10.3 and 10.3.1) | ArcGIS for Server&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 22:09:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522969#M2327</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-07-08T22:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: XML can I use this source?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522970#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Hello William –&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;I had no problems bringing in your traffic incidents feed from the City of Baton Rouge. I had to remove the input’s default &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051;"&gt;'application/xml&lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;' specification from my configured GeoEvent input's &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051;"&gt;'Acceptable MIME Types’&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt; parameter. I also had to specify &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincident&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;as the '&lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, Geneva, sans-serif;"&gt;XML Object Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;' so that the input would know how to extract individual events from the feed's structure.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;I cannot be sure from the feed whether using the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;location_number&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt; attribute as a TRACK_ID is appropriate. Identifying a field within the feed's data which can be used to uniquely identify each event will be fairly important. The input is receiving all available event records every polling cycle, and if we elect to broadcast the event data out a stream service, or update features in a feature service, we'll need a TRACK_ID in order to visualize the data properly on a map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Because the feed’s structure includes the date as an attribute of the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincidentlist&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;structure, rather than as part of each &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincident&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;item, we have a small challenge to overcome. More on that in a moment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Attached are illustrations of my configuration of the ‘&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051;"&gt;Poll an External Website for XML&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;‘ input and the GeoEvent Definition I configured my input to use. I allowed the input to create an initial GeoEvent Definition for me, then copied the generated one and configured my input to use my copy of the event definition. This is a fairly simple best practice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Hope this information helps –&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;RJ&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 22:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522970#M2328</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2015-08-04T22:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: XML can I use this source?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522971#M2329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;The &lt;A href="http://brgov.com/reports/public/brtrxml.xml"&gt;http://brgov.com/reports/public/brtrxml.xml&lt;/A&gt; feed provides the current date &lt;SPAN style="background: white;"&gt;as an attribute of the &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincidentlist&lt;/EM&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif; background: white;"&gt;structure. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Since each inbound traffic record only specifies a local time, it is difficult for GeoEvent to determine a proper epoch timestamp in milliseconds to associate with each event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;We can work with this. By polling the same feed, in a different way, we can cache the header information in a feature service’s feature class, an then use that cache to enrich each of the individual events we receive from the feed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;Consider the attached GeoEvent Definition illustration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;This event definition specifies that only the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 9pt; font-family: Verdana, sans-serif;"&gt;&lt;EM&gt;trafficincidentlist.time&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN class="apple-converted-space"&gt; and &lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 9pt; font-family: Verdana, sans-serif;"&gt;&lt;EM&gt;trafficincidentlist.date&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt; attributes should be pulled from the feed. Further, the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 9.0pt; font-family: 'Verdana',sans-serif;"&gt;&lt;EM&gt;trafficincidentlist.time&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt; is to be handled as a Date, not as a String. If we &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif;"&gt;configure a new &lt;SPAN style="background: white;"&gt;‘&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;Poll an External Website for XML&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif; background: white;"&gt;‘ input, we can poll the same feed. This time, however, I leave the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #505051; background: white;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;XML Object Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica',sans-serif; color: #505051; background: white;"&gt;' property unspecified, so this new input will retrieve the base date for every traffic incident. I need to specify an ‘&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;Expected Date Format&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;’ so that the input knows not to expect a time value as part of the received date string. (Refer to attached illustration of the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif; background: white;"&gt;‘&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;Poll an External Website for XML&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: Helvetica, sans-serif; background: white;"&gt;‘ input.&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;I can then incorporate this second input into my GeoEvent Service, using a Field Mapper to map the retrieved Date value to a schema consistent with a feature class in my geodatabase. I use a Field Calculator to hard-code the URL being polled for data as a TRACK_ID for these “features”. I use an ‘&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;Update a Feature&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;’ output to update the base date, in epoch milliseconds, as a feature in the feature class. This updates our cached &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;epochbase&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; attribute as a feature in a feature service. &lt;SPAN style="color: #505051; font-family: Helvetica, sans-serif;"&gt;(Refer to illustration detailing the use of Field Mapper and Field Calculator with the &lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-family: Helvetica, sans-serif;"&gt;&lt;EM&gt;fs-out&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #505051; font-family: Helvetica, sans-serif;"&gt; output updating the feature service.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;Now we can retrieve the &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;epochbase&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; attribute from the feature service and use it to enrich each incoming traffic event from the city’s feed. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;To do this, we add additional fields (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;feedidentifier&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;hours&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;, and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;minutes&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;) to our &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;BatonRouge-TrafficIncidents&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; event definition. These fields are not provided by the feed, but adding them to the event definition provides us attributes into which we can write data. We also add a Field Enricher to enrich the incoming traffic events with the Date from the feature service ... and a Field Calculator to extract the &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;hours&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;minutes&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; as substrings from each event’s &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; attribute.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;An additional Field Calculator can then be used to add the &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;hours&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;minutes&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; to the &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Verdana',sans-serif; color: #505051; background: white;"&gt;epochbase&lt;/SPAN&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt; – creating a fully-qualified date/time value for each event. (Refer to illustration ‘Final GeoEvent Service’).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;Admittedly, this is a lot to go through to pull information from a XML feed’s header and incorporate it into individual event records extracted from a feed’s list. But it illustrates several concepts of what you can do using a combination of processors to manipulate data obtained from a feed. Also, it appears that the GeoEvent input, configured to expect only &lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, sans-serif;"&gt;&lt;STRONG&gt;MM/dd/yy&lt;/STRONG&gt;&lt;/SPAN&gt; for the Date, assumes that the date must be local. But when the Date is written to a feature service, clients retrieving the value will assume that the value has been expressed in epoch milliseconds GMT, so displaying the manufactured date in a web map will probably be artificially offset from GMT to your server's local time. To complete the solution we really should correct the locally reported Baton Rouge time by adding +5 hours to push the value forward and represent it as a GMT / UTC value, when caching it in a feature service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;Hope this information is helpful –&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #505051; background: white; font-size: 10.5pt; font-family: 'Helvetica',sans-serif;"&gt;RJ&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 01:01:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/xml-can-i-use-this-source/m-p/522971#M2329</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2015-08-05T01:01:01Z</dc:date>
    </item>
  </channel>
</rss>

