Comments (4)
Yes, definitely. You can set the time of day for the OD Cost Matrix, which will be interpreted as the start time for all origins.
If you just want to hard-code something for your specific analysis, you can change it in the od_config.py file:
Use a datetime.datetime()
. You can set a specific date, or you can specify a generic weekday or "today." For one of these generic weekdays, you have to use our special reserved dates in 1899/1900. I just noticed that those are not documented in the solver object documentation (something I will fix for the next release), but the list of those dates is included in the Make OD Cost Matrix Analysis Layer documentation for the time_of_day
parameter and is the same.
If you want to make it a user parameter, you will need to add a parameter to the script tool definition and pass it all the way through the stack like how it's already done for travel mode, cutoff, and number of destinations to find.
Setting a time of day will not have an impact on the OD Cost Matrix results unless the impedance attribute being used has some time-dependent properties, for example, if you're using traffic or public transit data.
from large-network-analysis-tools.
Thanks for the info, but is it possible for you to add this feature, so that we can change the time with the tool? I would be using this for using the traffic data, that is why I would need it. I would greatly appreciate if you could add this change. I have no experience with creating tool's, that is why I am asking.
from large-network-analysis-tools.
I'll see what I can do.
from large-network-analysis-tools.
Okay, the tool code has been updated to expose time of day as a user parameter. You can download the update from https://github.com/Esri/large-network-analysis-tools/releases/ or clone the repo.
from large-network-analysis-tools.
Related Issues (13)
- Modifying for Service Area HOT 2
- Alter outputting OID to other unique ID from input origins/destinations HOT 3
- Curb approach HOT 7
- Create input parameters to designate unique ID fields for the input origins and destinations HOT 1
- Known pairs issues/questions HOT 10
- Solve Large Analysis with known OD Pairs tool fails HOT 3
- Enhance "Solve Large Analysis With Known OD Pairs" tool to do many-to-many problems and accept a table of OD pairs HOT 10
- Is it possible to set the Calculate Network Locations to parallel processing as well? HOT 7
- Empty geometries in Line-FeatureClass result of SolveLargeODCostMatrix HOT 2
- Differing results when using arcpy vs. ArcPro HOT 12
- Question: Token acceptance HOT 3
- Write logger messages from subprocess to GP UI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from large-network-analysis-tools.