|
POST
|
Hello again, @phunky. I'm considering whether there is a way we can enhance the Copy Traversed Source Features tool in the future to include some more transit-specific information, such as some of the things you were suggesting. This is just a research project at this point, but the first step is better understanding customer needs. I believe you mentioned wanting to know the following things from your solved transit analysis: Which bus line was used Wait time Ride time Is that all the information you need, or is there other information that would be valuable to have? Thanks for any information you can provide.
... View more
04-25-2022
01:46 PM
|
1
|
0
|
4559
|
|
POST
|
If you're able to share your data (network dataset as well as origin and destination points), I would be happy to take a look at it. It's always possible there is a bug in the Calculate Accessibility Matrix tool, or maybe I could easily identify the problem with the network.
... View more
04-25-2022
12:18 PM
|
0
|
0
|
11440
|
|
POST
|
Well, if the Service Area results look sensible (and the screenshot results look okay to me), then the problem is not likely with your network dataset. Don't change the connectivity from End Point to Any Vertex blindly without understanding why. That change is intended for specific situations when your streets extend for several blocks and have vertices at intersections instead of being broken up into separate features.
... View more
04-25-2022
12:16 PM
|
0
|
0
|
11440
|
|
POST
|
Okay, I'm glad you got what you needed. My one caution about a 30-minute interval is that some transit service runs on a 30-minute interval, so you may get some weird effects where the system is effectively in the same state every 30 minutes, which is not representative of the state(s) it's in during the times between those 30 minutes. Like if person A lives right next to a bus stop with a bus coming every 30 minutes, and they've just missed that bus by 1 minute, then it shows them as perpetually unable to get to their doctor's appointment, even though there are some times of day (like 1 minute before each analysis time slice) when they actually can.
... View more
04-25-2022
08:06 AM
|
0
|
1
|
4677
|
|
POST
|
Hello Phillip. Nice to hear from you again. It sounds like you're asking about a couple of different things, so let's see if we can get this figured out. First, you're asking about one of the Transit Network Analysis Tools that iterates over a time window and asking whether the individual results of each iteration can be saved out. When you said "calculate time matrix tool", I initially thought you were referring to the Calculate Accessibility Matrix tool, but as far as I remember, that tool has never had this option. I think you might be thinking of the Calculate Travel Time Statistics tool, which has a checkbox option to save the results of each iteration into a single feature class. That option is there in both the deprecated ArcMap version and the current ArcGIS Pro version. Is this what you were thinking of? Does this give you what you need? Note that the results will just have the travel time and distance. It doesn't include wait time. For various technical reasons, that information is not possible to retrieve. Your second question, if I understand it correctly, is whether not only the route between A and B can be saved for each time of day but whether the traversal result, or the components of the route, can also be saved out. In other words, you want the individual network feature that were used, consistent with the output of the now-deprecated Copy Traversed Source Features (with Transit) tool. Is this right? Assuming I've understood the question, then no, this isn't possible right now. But, I have an item on my near-term to-do list to create a new version of that old tool that works in ArcGIS Pro. Your question here is the first time I've been asked about combining this functionality with the Transit Network Analysis Tools, but I think that's a really great enhancement idea. So...I don't have a solution for you right now, but maybe later this year I will. I will be sure to post back here when I have some updates, or you can just subscribe to the GitHub repo.
... View more
04-22-2022
02:51 PM
|
0
|
1
|
4143
|
|
POST
|
Hello Joseph. Yes, I agree that these results don't look correct. My first thought is that something is wrong with your network dataset. Possibly the connectivity of the street features is incorrect. Maybe you need to switch from End Point to Any Vertex. Have you done any testing of this transit network using an ordinary Service Area or Route, just to see if the results are sensible? OD Cost Matrix is a bit more abstract, making it hard to see what's really happening. The Calculate Accessibility Matrix tool is even more abstract.
... View more
04-22-2022
02:08 PM
|
0
|
0
|
11472
|
|
POST
|
Hello Michael. Thanks for your request. Although I have parallelized the other tools in that toolbox, I haven't done this one yet. I honestly wasn't sure if anybody was using this tool, so thank you for confirming that it has at least some value. I can add it to my to-do list to create a parallel version of this tool, although I can't commit to doing it in the immediate future (lots of other stuff on my plate right now). Have you tested the current tool to determine if performance is really a problem? It definitely CAN be faster if I parallelize it, but it's possible that it isn't...completely terrible...as it is...maybe...
... View more
04-21-2022
01:45 PM
|
0
|
3
|
4692
|
|
POST
|
For this one, the problem is that it cannot set the environment workspace to the designated file gdb. # Set environment settings output_dir = "C:/Data" # The NA layer's data will be saved to the workspace specified here env.workspace = os.path.join(output_dir, "Output.gdb") Does C:/Data/Output.gdb exist? If not, this is your problem. You must set the workspace to a geodatabase that exists.
... View more
04-21-2022
12:51 PM
|
0
|
0
|
4199
|
|
POST
|
Okay, for this one, the error message tells you exactly what the problem is: "Input network dataset does not have at least one travel mode". The arcpy.nax solver objects require that the network dataset is configured with travel modes. Here's some documentation about travel modes and how to create them: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/travel-modes.htm
... View more
04-21-2022
12:49 PM
|
0
|
0
|
4199
|
|
POST
|
I'm sorry you're still having trouble. I got notifications for several posts in this thread, some of which seemed like they included your code. However, it looks like you deleted them. I'm not really sure how to answer your remaining question, as it's a little vague. Can you post your code again and the exact error text?
... View more
04-19-2022
11:54 AM
|
0
|
4
|
4218
|
|
POST
|
Hello, Ian. I suspect the issue here is that your script needs to set arcpy.env.workspace to a valid file geodatabase where the NA layer's analysis data will be placed. You can read some explanation of why this is necessary in ArcGISPro here: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/migratingfrom10xarcpynetworkanalyst.htm#ESRI_SECTION1_27087C5E17FF4E85B4B7A96853AC0DC6 In general, we now recommend that you do not use network analysis layers in Python scripts in ArcGIS Pro, as we now have available the arcpy.nax Python module, which makes Network Analyst workflows in Python easier. Learn more here: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/performing-network-analysis.htm
... View more
04-18-2022
11:21 AM
|
0
|
6
|
4236
|
|
POST
|
Is "ArcGIS Pro 1.9.2" a typo? I presume you mean 2.9.2? Could you please provide more details about the problem you're experiencing? How do you know that the barriers aren't being used? Can you post a screenshot? Are you using a Service Area layer in the UI, and what polygon settings are you using?
... View more
04-12-2022
12:57 PM
|
0
|
0
|
1439
|
|
POST
|
All the advice in this thread assume that you have ArcGIS Pro installed and are using Pro's installed version of Python. The arcpy module in general assumes this. I'm not really the right person to ask about a Developers Essentials account, as I work exclusively on ArcGIS Pro. But I believe if you at some point will no longer have ArcGIS Pro, you will need to use the ArcGIS API for Python, which is a completely separate thing from arcpy. With this API, you can use network analysis services, but the syntax is all different from what we've been talking about here in this thread. Please take a look at that documentation, and if you have further questions, I suggest you post them in a new question in a different area of the Esri Community so you can be sure the right people will see them and be able to answer them.
... View more
04-12-2022
11:28 AM
|
1
|
1
|
6301
|
|
POST
|
I think the reason this doesn't work is that the solver properties get updated only within the context of this tool and do not manage to update the original layer in the tool output. It is a longstanding issue. I believe it will be fixed in the forthcoming Pro 3.0 release after some rearchitecture we did. However, if you are capable of Python scripting, this is not the best way to solve the problem. We no longer recommend using network analysis layers in Python scripts since we have introduced the arcpy.nax Python module, which provides easy-to-use Python classes for network analysis: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/performing-network-analysis.htm If you're capable of writing Python scripts, you're encouraged to just do your whole workflow using this new module. It should be quite easy to update the desired properties and solve iteratively. You can wrap up your script in a geoprocessing script tool if you'd like.
... View more
04-11-2022
09:48 AM
|
0
|
0
|
6305
|
|
POST
|
Hello Wendy. I'm glad you resolved your issue. Would you remind telling me a bit more about your setup so I can try to fix this problem in case other users run into it? Ideally, the tool should work with data on a network drive. Here are some questions: From the error message, it looks like your GTFS data is on a drive called "H:". Is that your network drive? Is the file geodatabase where the output is going also on the "H:" drive, or is that somewhere else? What is your network drive? Is it OneDrive, some other type of share set up by your organization? I think this is what I really need to know so I can try to mimic the setup and reproduce the problem (and then fix it). Thank you!
... View more
04-07-2022
08:58 AM
|
0
|
1
|
2147
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 06-12-2026 01:53 PM | |
| 1 | 04-21-2026 08:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|