<?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: GeoEvent Processor Add Feature - Date Problems Deleting old features in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-processor-add-feature-date-problems/m-p/221564#M942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using an "Add Feature" output or an "Update Feature" output?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using an "Add Feature" output for historical data collection and you turn on the delete option I think what will happen is GEE will start deleting all records older than "Maximum Feature Age".&amp;nbsp; So it may be the 85000 record limit you are observing is actually the most recent 85000 records.&amp;nbsp; The parameter "&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field" is not present in the "Add Feature" output so GEE has only the 'datetime' field to use for "search and destroy".&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an "Update Feature" output the delete option deletes records based on the 'datetime' field and the&amp;nbsp; "&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field".&amp;nbsp; Plus, this output is not an append action like the "Add Feature".&amp;nbsp; The intention is to update field values on a table of records uniquely defined by two fields ("&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field" and the 'datetime' field).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, Geneva, sans-serif;"&gt;Is there a reason you need to delete records from a historical data collection?&amp;nbsp; If so you would have to use an "Update Feature" output and you will have to do work in the input to insure each value targeted for the&amp;nbsp; "&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field" of the output is unique.&amp;nbsp; When it is time to delete an existing record then do not update the 'datetime' field for that record.&amp;nbsp; HOWEVER, this will prove to be very compute intensive over time if the target feature layer gets large.&amp;nbsp; The "Update Feature" output would need to update the 'datetime' field of all records that are not intended for deletion and do this for each output event.&amp;nbsp; If you are streaming lots of data at a fast rate I'm not sure if GEE could keep up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, Geneva, sans-serif;"&gt;DG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Oct 2015 18:11:42 GMT</pubDate>
    <dc:creator>DennisGeasan</dc:creator>
    <dc:date>2015-10-22T18:11:42Z</dc:date>
    <item>
      <title>GeoEvent Processor Add Feature - Date Problems Deleting old features</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-processor-add-feature-date-problems/m-p/221563#M941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been working with the GeoEvent processor for the past few days and am trying to establish a historical record of data that's coming in through one of our inputs.&amp;nbsp; Currently for one of our GeoEvent Services we have two update outputs and a text output that are working flawlessly.&amp;nbsp; I've been running into major issues with respect to the date field in the Add Feature output.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, the date field in the Add Features output wouldn't populate at all, despite the field's name matching the service object.&amp;nbsp; I updated the expected date property on the input, and it started working.&amp;nbsp; It was in the wrong time zone, so I applied a processor to field calculate the date field -25200000 milliseconds to adjust for the time zone we're in, and that was also working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At 4AM this morning, everything stopped working.&amp;nbsp; The feature class had hit ~85,000 rows and nothing else had been written.&amp;nbsp; I had the "delete old features" option enabled, set to twelve hours, (checking every hour) and the features stopped updating when that should have kicked in.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reconfigured the environment with a fresh copy of the feature class I was writing to, and made it delete everything an hour old.&amp;nbsp; It worked for an hour, and then I started getting these messages: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to parse the time value '2015-10-08T19:30:00Z' using the custom format. Using the default date format. java.text.ParseException: Unparseable date: "2015-10-08T19:30:00Z" at java.text.DateFormat.parse(DateFormat.java:357)[:1.7.0_65] at com.esri.ges.adapter.json.FeatureJsonInboundAdapter.parseFeature(FeatureJsonInboundAdapter.java:317)[258:com.esri.ges.framework.adapter.feature-json-adapter:10.3.0] at com.esri.ges.adapter.json.FeatureJsonInboundAdapter.receive(FeatureJsonInboundAdapter.java:164)[258:com.esri.ges.framework.adapter.feature-json-adapter:10.3.0] at com.esri.ges.manager.stream.internal.InboundAdapterProxy.receive(InboundAdapterProxy.java:39)[325:com.esri.ges.manager.internal-streammanager:10.3.0] at com.esri.ges.manager.stream.internal.InboundStreamImpl$DataProcessor.run(InboundStreamImpl.java:79)[325:com.esri.ges.manager.internal-streammanager:10.3.0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After which, not only will the old features no longer be deleted, but no new features will be added to the feature class.&amp;nbsp; My expected date format is: dd/MM/yyyy hh:mm:ss&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment is Windows Server 2008R2, ArcGIS Server 10.3, and SDE database is Oracle 11g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice of things to try would be greatly appreciated, and I'd be happy to provide any further info.&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 19:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-processor-add-feature-date-problems/m-p/221563#M941</guid>
      <dc:creator>JonathanHouck</dc:creator>
      <dc:date>2015-10-08T19:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent Processor Add Feature - Date Problems Deleting old features</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-processor-add-feature-date-problems/m-p/221564#M942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using an "Add Feature" output or an "Update Feature" output?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using an "Add Feature" output for historical data collection and you turn on the delete option I think what will happen is GEE will start deleting all records older than "Maximum Feature Age".&amp;nbsp; So it may be the 85000 record limit you are observing is actually the most recent 85000 records.&amp;nbsp; The parameter "&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field" is not present in the "Add Feature" output so GEE has only the 'datetime' field to use for "search and destroy".&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an "Update Feature" output the delete option deletes records based on the 'datetime' field and the&amp;nbsp; "&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field".&amp;nbsp; Plus, this output is not an append action like the "Add Feature".&amp;nbsp; The intention is to update field values on a table of records uniquely defined by two fields ("&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field" and the 'datetime' field).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, Geneva, sans-serif;"&gt;Is there a reason you need to delete records from a historical data collection?&amp;nbsp; If so you would have to use an "Update Feature" output and you will have to do work in the input to insure each value targeted for the&amp;nbsp; "&lt;SPAN style="color: #505051; font-family: Verdana, Geneva, sans-serif; font-size: 12px;"&gt;Unique Feature Identifier Field" of the output is unique.&amp;nbsp; When it is time to delete an existing record then do not update the 'datetime' field for that record.&amp;nbsp; HOWEVER, this will prove to be very compute intensive over time if the target feature layer gets large.&amp;nbsp; The "Update Feature" output would need to update the 'datetime' field of all records that are not intended for deletion and do this for each output event.&amp;nbsp; If you are streaming lots of data at a fast rate I'm not sure if GEE could keep up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-size: 12px; font-family: Verdana, Geneva, sans-serif;"&gt;DG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 18:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/geoevent-processor-add-feature-date-problems/m-p/221564#M942</guid>
      <dc:creator>DennisGeasan</dc:creator>
      <dc:date>2015-10-22T18:11:42Z</dc:date>
    </item>
  </channel>
</rss>

