Select to view content in your preferred language

Modelbuilder: Delete Features with Same Geometry by using Timestamp Field?

464
3
Jump to solution
06-03-2023 02:26 PM
ArmstKP
Regular Contributor

I would like to delete features that have the same geometry, where the timestamp field is the same day, but keep the most recent/latest record.  Anybody have any ideas on how to tackle this workflow with Modelbuilder?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ArmstKP
Regular Contributor

My solution was that I had to create a new field that just had the month, day and year, without the timestamp.  Then I could use the Delete Identical tool, by using the shape field and the new field mentioned above to delete the identicals that were on the same day.

View solution in original post

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor
0 Kudos
ArmstKP
Regular Contributor

@DanPatterson Yes, that would seem part of the solution.

0 Kudos
ArmstKP
Regular Contributor

My solution was that I had to create a new field that just had the month, day and year, without the timestamp.  Then I could use the Delete Identical tool, by using the shape field and the new field mentioned above to delete the identicals that were on the same day.

0 Kudos