I have a dataset of 600,000 records where I need to calculate a drive time that is different for each based on model that estimates the actual/variable drive time needed at that location. Within ArcGIS Pro (2.5) I can create a drive time trade area but it only allows input for 1 specific drive time point.
How can I change the python code so that it reads from the record/file the specific drive time that I need for it to calculate?
Here is the Business Analyst drive time code:
arcpy.ba.GenerateDriveTimeTradeArea("Heat_Map_Grids_Point", r"C:\Default.gdb\Heat_Map_Drive_Times", "Driving Time", [5], "MINUTES", "GRID_ID", "OVERLAP", "KEEP_OVERLAP", "TOWARD_STORES", None, "TIME_ZONE_AT_LOCATION", None, "STANDARD")
the [5] (the distance value parameter) is the variable I need to convert to a field value.
Is this even possible, and what would some example code look like?
I am thinking sending the field values to a list and looping through that list would do the trick...but not sure how to create that code.