I am trying to calculate the mean travel time from a set of origins to a set of destinations over a time window and display the results. This is very similar to creating an isochrone map for several destinations, however I would like to be able to show the average travel time for each minute over a window of time.
This is the workflow I am using at the moment:
This works fine, but it is not exactly pretty or easy to replicate multiple times. I tried to create a model with ModelBuilder to create a tool to do perform this workflow, however I run into challenges using the .csv file from the OD Cost Matrix tool as input to the 'Table to Table' tool in ModelBuilder.
Is there any simpler workflow that I can use to perform this task, or any other workaround to be able to perform a one-to-many join between the origins and the OD Matrix table with multiple destinations?
Hello. I'd like to help you with this, but there's a lot going on here, so I want to make sure I understand what the problems are that you're experiencing.
What do you want your final output to include? If I understand that better, I might be able to come up with a better workflow.
Regarding the limitations of the Add Join tool: I believe the limitations you're referring to is this (from the documentation) : "The input table must have an Object ID field to perform a one-to-many join and be in the same workspace." Is that correct? Did your workflow work correctly after you ran Table To Table and you made sure to put it in the same geodatabase as your input origins?
What "challenges" are you experiencing in Model Builder?
Are you able to write Python code? Joins in the pandas package are quite easy to do and very fast, so this would be an option if you're able to write Python.