Since GAP analysis does not work on polygon feeds, is there a way to configure an output so that only the latest features from a feed are kept? I don't just mean the latest feature for a trackID, I mean just features from the latest run of the analytic.
I have a problem where the source polygons are being split and merged. Without GAP analysis the parent polygons stay in the output hosted feature service and have to be manually deleted. They essentially stay as overlapping polygons.
Maybe one of the other output types support keeping just active features from a feed?
If this is a Big Data Analytic, then isn't it as simple as specifying --
Each time the analytic runs | Replace existing features and schema |
I'm probably missing something obvious here but I don't see how to get that option. The closest I can get is
Each time the analytic starts | Replace existing features and schema |
When I'm setting up an output these are the options I see
I misread your post Jeff. I'm doing a real time analytic, not a Big Data one. That is why I don't see the option to replace all features every time the analytic runs.
Sorry, I don't know of a way to do what you want in the RTA other than applying a Time Filter in the Maps and Apps. But wouldn't this be a better fit as a BDA?
Again, the option I highlighted is for Big Data Analytics, I think you are looking at Real Time Analytics.
Since you said "from the latest run of the analytic", I, maybe wrongly, assumed you were running a BDA on a schedule, once every thirty minutes or some interval.
Thanks Jeff. Yes I was using realtime analytics. Your suggestion of using a time filter was correct.
I learned from as Esri expert to use a field calculation of the data and then filter off of 'Date within last X minutes' where the date field is calculated to Now() every time the Analytic is run. This would hide the features in the map.
They also suggested a scheduled Notebook script to delete the older features from the hosted feature service.