Hello all,
I have a Feature Class data set that contains many GPS points that where collected over the course of a couple years. The latest ones have better accuracy compared to the older ones. For example, a valve could have 2-3 GPS points scattered around it. I have made a model that will iterate through each GPS point, select all the ones around it and select the oldest ones and either copy and move or delete them. I have chosen the model route because it seemed the simplest solution, but....
I am having trouble getting a SQL expression to work for the last part, Selecting the oldest points. So far I have been using the expression, GPS_Time = (SELECT MIN( GPS_Time) FROM %Near_GPS_Point%) , but for some reason this doesn't seem to work for SUBSET_SELECTION. I have tried many variations of this expression but invalid expression are my only results.
Not having any outputs created would be ideal as there are about 300k GPS points to iterate though.