|
POST
|
If you're using a network dataset on your own system (one you created yourself or Streetmap Premium that you purchased from Esri), then you need the Network Analyst extension license. If you're solving against the ArcGIS Online services, you don't need the extension license. For questions about licensing and what tools and options you have available with your current licensing, your designated Esri representative is your best resource, so you should reach out to them. (If you're not sure who that person is or how to get in touch with them, feel free to send me a private message with your name and organization, and I can find out for you.)
... View more
2 weeks ago
|
0
|
0
|
116
|
|
POST
|
Yes, you can call any model tool from Python. You might get errors if the model has hard-coded data paths or is looking for layers in the map and it's being run outside of the map context. You can make the inputs and output model parameters so your script can explicitly pass in the paths to the inputs and specify the output paths. Here is a tutorial all about creating models for Network Analyst workflows, including some steps for configuring the model to run as a tool: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/create-a-model-for-route-analysis.htm# If you continue to have problems, it is helpful, when you post a comment, if you paste the actual error you're getting. Very helpful for diagnosing the problem!
... View more
2 weeks ago
|
1
|
2
|
119
|
|
POST
|
Usually converting models to scripts requires that you edit the scripts to adjust the file paths because you're switching from a context that interacts with the map in Pro to something that is intended to work in a standalone process. But unless you can share the resulting script your model export created, it's not possible to diagnose the issue. With that said, we don't recommend using network analysis layer workflows in Python. For a faster and easier-to-use network analysis experience in Python, you should use the arcpy.nax module. This documentation explains step by step how to do it: https://pro.arcgis.com/en/pro-app/latest/arcpy/network-analyst/performing-network-analysis.htm.
... View more
3 weeks ago
|
1
|
0
|
218
|
|
POST
|
This is a big question, so let's try to break it down and generate some ideas. The first thing you need to do is filter out the students who aren't eligible for bus passes because they live within the 1.5-mile distance of the school (I presume you're looking at network distance rather than straight-line distance.). The best way to do this is to use an Origin Destination Cost Matrix with a distance cutoff. This tutorial may help: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/od-cost-matrix-tutorial.htm Next, I presume the students will be using scheduled public transit service rather than riding school buses. Assuming you have GTFS data for the transit system, you can incorporate these public transit schedules into a network dataset. Here's a tutorial that walks you through that process: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/create-and-use-a-network-dataset-with-public-transit-data.htm. Once you have the network created, you can model travel by public transit. Since students are presumably dismissed from school at a particular time of day, you can eliminate some of the challenge in transit travel time calculations by assuming a given starting time of day. You can calculate the routes of these students from school to home at that time of day using the Route solver. The challenge will be in extracting information about the actual transit lines taken because our solvers don't report this information. However, you can download the Transit Network Analysis Tools from here: https://github.com/Esri/public-transit-tools. The Copy Traversed Source Features With Transit tool will give you more detailed information about which transit lines got used for each route: https://github.com/Esri/public-transit-tools/blob/master/transit-network-analysis-tools/UsersGuide.md#Copy-Traversed-Source-Features-With-Transit Hope this helps get you started.
... View more
3 weeks ago
|
0
|
0
|
260
|
|
POST
|
Based on your description, I think one of the two scenarios is likely causing the problem. The streets have vertices where they touch at intersections, but you're using End Point connectivity. You could switch it to Any Vertex connectivity, and the problem would be solved (but you may have some problems at overpasses/underpasses). The streets don't have vertices where they touch at intersections. In this case, you could run the Integrate tool to create them and then switch to Any Vertex connectivity. More detail about these types of problems and many others are available in our Troubleshooting Guide here: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/troubleshoot-network-analysis-problems.htm#ESRI_SECTION2_ECAFDA8C10644B90B322743F785214DB
... View more
03-27-2026
06:37 AM
|
0
|
0
|
115
|
|
IDEA
|
The forthcoming Pro 3.7 release will include some new tools and Python commands you can use to create or modify network dataset travel modes programmatically using Geoprocessing tools and/or standalone Python. Export Network Travel Modes (geoprocessing tool) - Exports a network's travel modes to a JSON file. Replace Network Travel Modes (geoprocessing tool) - Replaces a network's current travel modes with the ones defined in the input JSON file, which can be created manually (or programmatically) or via the Export Network Travel Modes tool. The arcpy.nax.NetworkDataset class's updateNetworkDatasetSchema() method has a new parameter, travel_modes, which allows you to set travel modes on a network dataset directly in Python. In all the above functionality, travel modes are defined using a well-known, documented JSON structure. I'll post documentation for all of the above when it becomes publicly available after the release.
... View more
03-24-2026
12:21 PM
|
0
|
0
|
242
|
|
POST
|
You can write a Python script that accesses the Service Area layer from within the project and calls the Solve() tool on it. It would be something like this (untested): proj = arcpy.mp.ArcGISProject(path to your .aprx file)
map_obj = proj.listMaps()[0] # Or whichever index points to the correct map
lyr = map_obj.listLayers(your Service Area layer's name)[0]
arcpy.na.Solve(lyr) That specifically solves the layer IN the project. I THINK that will work. If you want to automate your entire workflow rather than solving an existing layer in a project, here's a tutorial about to create a script tool: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/create-a-python-script-tool-using-arcpy-nax.htm
... View more
03-16-2026
08:58 AM
|
1
|
1
|
385
|
|
POST
|
Pressing the Run button just calls the Solve tool, so you should be able to schedule running the Solve tool just like any other geoprocessing tool. Documentation: https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm
... View more
03-13-2026
03:06 PM
|
0
|
1
|
443
|
|
POST
|
Hello @49asvk. I have some ideas, but I'm checking with my colleagues to determine where the line is in what is permitted by the terms of the Streetmap Premium data license. Could you tell us what you hope to do with the graph you would be creating using the network dataset's data?
... View more
02-10-2026
02:09 PM
|
0
|
0
|
295
|
|
POST
|
Hi Ryland. No, shapes.txt is not required for creating a transit-enabled network dataset. The only thing it's used for is to create the LVEShapes feature class, which holds true geographic shapes to go along with the logical straight-line shapes held in LineVariantElements. But LVEShapes isn't required and isn't used by Network Analyst in any way. You will get analytically valid results in OD Cost Matrix and Service Area without that.
... View more
02-10-2026
12:22 PM
|
1
|
1
|
413
|
|
POST
|
This is a really interesting question. I'm sorry you lost your original data. I think the closest you'll be able to get is to run Create Template From Network Dataset on your mobile geodatabase (.geodatabase) network dataset. Then, export all the source feature classes and tables to a new file geodatabase, and run Create Network Dataset From Template to create a new network in the file geodatabase. I suspect you might have to open up the template .xml file and change the feature class names to remove "main." prefixes. I think this will work, but I haven't tested it to be sure, and it's definitely a bit of a hack.
... View more
02-03-2026
11:41 AM
|
1
|
0
|
284
|
|
POST
|
Here is a blog post explaining the best way to do this: https://www.esri.com/arcgis-blog/products/network-analyst/transportation/paired-origins-and-destinations
... View more
02-02-2026
07:46 AM
|
0
|
0
|
52
|
|
POST
|
No, there's no batch process to reset the entire layer. You have to delete all the rows using the editing tools or a geoprocessing tool. Alternatively, you could just create a new network analysis layer, which might be faster. It depends on whether you want to retain all your analysis settings.
... View more
01-23-2026
12:28 PM
|
1
|
0
|
359
|
|
IDEA
|
You can also start with a raster or grid and the derive the centroids/points from it, calculate the OD, then join the results back to the original raster cells.
... View more
12-30-2025
07:46 AM
|
0
|
0
|
1067
|
|
IDEA
|
That makes sense. Here are some additional ideas on how to approach the raster idea using existing technology: (If you're in the US or your country has something similar): Use the centroids of census blocks (if blocks are small enough for your purposes) as the origins or destinations and calculate your OD Cost Matrix. Then, assign the block centroid travel time to any point falling within the geometry of the census block. Do something similar but using a raster-like grid or hexagon grid. Calculate the travel time from every street intersection or the center of every block. Any future location gets assigned to a block or intersection and uses the precalculated travel time.
... View more
12-29-2025
07:12 AM
|
0
|
0
|
1095
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 02-03-2026 11:41 AM | |
| 1 | 03-16-2026 08:58 AM | |
| 1 | 02-10-2026 12:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|