Select to view content in your preferred language

Track time spent at an asset

578
1
Jump to solution
02-14-2023 10:35 AM
ArianaToth
Regular Contributor

Is it possible to populate an attribute field with time data taken from a tracking layer? Specifically, can you populate a hydrant flush time field by measuring the time spent standing next to the hydrant? 

--Ariana
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
JustinColville
Esri Contributor

Hello Ariana,

This could be accomplished using the ArcGIS API for Python.  Our team has a sample Notebook in our Scripts repo called Find Dwell Times at Polygons that could be a starting point, replacing the polygon layer by buffering your hydrants.  The dwell start/end time output is written to the console, but could be used to calculate a duration and update an attribute field.

View solution in original post

1 Reply
JustinColville
Esri Contributor

Hello Ariana,

This could be accomplished using the ArcGIS API for Python.  Our team has a sample Notebook in our Scripts repo called Find Dwell Times at Polygons that could be a starting point, replacing the polygon layer by buffering your hydrants.  The dwell start/end time output is written to the console, but could be used to calculate a duration and update an attribute field.