|
POST
|
FYI, I did some testing and observed the same behavior you did. It seems to be a combination of factors outside my control, so I have added some additional information to the user's guide that comes with the tool download. It's essentially what I wrote in my earlier comment. Just add the feature classes to the map manually if necessary and then run the Apply Symbology From Layer tool.
... View more
07-27-2020
03:52 PM
|
1
|
0
|
1449
|
|
POST
|
Hello Mike. Hmm, probably not exactly a bug, but just some unfortunate behavior. I will look into it to see if there's a way around it. The tool modifies the network source feature classes by adding an integer field to them to indicate which "subgraph" each feature falls in. When the tool runs, it adds and calculates this field based on the network's connectivity. When the tool finishes, it puts the source feature classes in the map and applies a certain symbology to them so the disconnected areas (all subgraph field values that are not 0) are shown in red. I think since the layer was already in the map, it didn't re-add it, so it couldn't apply the symbology. You can just manually symbolize the layer based on that field, or you can use the Apply Symbology From Layer tool to apply the symbology yourself from the .lyrx layer file included in the same folder where you downloaded the tool. So in other words, the tool ran and produced the correct data. It just didn't apply the symbology.
... View more
07-24-2020
01:28 PM
|
0
|
2
|
1449
|
|
POST
|
Hi Jordan. If you want to keep your script mostly the same and continue to use NA layers, that will work. But, as you have discovered, there are some code changes required, particularly with regards to working with the arcpy.mapping module in Pro. This page has some tips about how to migrate an NA layer-based workflow to Pro: Migrating arcpy.na to ArcGIS Pro—Network Analyst module | Documentation And this page talks about migrating to Pro for the arcpy.mapping module: Migrating from arcpy.mapping to ArcGIS Pro—ArcPy | Documentation Regarding the newer arcpy.nax module: Yes, the workflows are more straightforward, and as you have noticed, they are not based on layers at all. There is the ability to export an NA layer after solving the analysis, but the primary intent there is for debugging problems. The primary assumption is that at the end of the day, most people just need the Service Area polygons or maybe just a couple of field values from the output of the analysis. The arcpy.nax module allows you to access those things directly. You can use the export() method to export the polygons to a feature class on disk, or you can loop through the analysis results using a search cursor if you just need to grab a few field values. Does this help? If you are having trouble with a few specific lines of code, feel free to paste them here and I can take a look.
... View more
07-22-2020
12:53 PM
|
1
|
9
|
6440
|
|
POST
|
Here's something else to try. Close ArcGIS Pro if it's open. In Windows Explorer open the folder where your BetterBusBuffers files are stored. Delete the __pycache__ folder if it exists: Delete all files in that folder with a .pyc or .pyt.xml extension. Do not delete any other files. Try running the tool again. If that doesn't fix it, let me know, and we'll keep trying.
... View more
07-17-2020
08:21 AM
|
0
|
1
|
3378
|
|
POST
|
Glad to hear it! There was some issue with ToolValidator several Pro releases back, but I didn't know it affected this tool. My apologies for your trouble.
... View more
07-16-2020
08:11 AM
|
0
|
3
|
3378
|
|
POST
|
Can you tell me what version of ArcGIS Pro you're using? Also, are you running the tool from within Pro, or is it in a python script or a model or something?
... View more
07-14-2020
11:21 AM
|
0
|
7
|
3378
|
|
POST
|
Hmm, that's an odd error. The ToolValidator.py module definitely has that function, and I just tested it on my own machine with ArcGIS Pro, and it's working fine. My guess is that something happened to the BetterBusBuffers toolbox code on your machine. Please delete your copy of BetterBusBuffers, including all the associated .py files, and download a fresh copy here: http://arcg.is/0yr9fr If you need to move it to some other location on your computer after downloading and unzipping it, be sure to move the entire parent folder so that all the associated scripts and other files stay together.
... View more
07-14-2020
07:54 AM
|
0
|
9
|
3378
|
|
POST
|
Unfortunately, Esri's licensing agreement with Waze does not allow us to use the Waze live traffic data in network analysis. Consequently, you cannot include it as live traffic in a network dataset for a network analysis service.
... View more
07-06-2020
02:18 PM
|
0
|
1
|
1728
|
|
POST
|
"If you perform an analysis using ArcGIS Online, the solver references a high-quality, worldwide network dataset stored in the ArcGIS Online cloud and will use ArcGIS Online credits. If you're using your own data, no online credits are used, but you need to associate your network dataset with the project." I think this is just a matter of unclear text. I will make a note for us to update the tutorial text to make it clearer in the future. When you create a network analysis layer in Pro, you must choose the network data source you want to use to perform the network analysis calculations. This is the road network the analysis will be based off of. You can choose one of several options: 1) ArcGIS Online - this uses high-quality data that Esri hosts. You cannot edit this data. If you use this service, it consumes credits. 2) Your own network dataset. This is something you make or purchase yourself and have locally on your own machine. It doesn't cost anything to use this. 3) A non-ArcGIS Online portal service - If you have ArcGIS Enterprise and your own portal, you can create your own network analysis services on this portal and consume them from Pro. The Network Analysis drop-down on the Analysis ribbon shows the current network data source and allows you to change it if desired.
... View more
07-02-2020
11:57 AM
|
2
|
0
|
3008
|
|
POST
|
This tutorial may be helpful to you if you haven't discovered it already: Tutorial: Create service areas—ArcGIS Pro | Documentation
... View more
06-25-2020
01:03 PM
|
0
|
0
|
1353
|
|
POST
|
If you need to know which streets were traversed, you can't use OD Cost Matrix. OD Cost Matrix calculates only the travel time or distance but does not preserve the actual paths taken along the network. This allows OD Cost Matrix to operate efficiently, but it sounds like this isn't the right tool for the job for you. Instead, you need to use the Network Analyst Route solver to calculate the route taken between each pair of points. Once you have done that, you can combine the results to find the most frequently traversed road segments. When setting up the Route analysis, you should use the RouteName input field in the Route Stops table to make it so the origin and destination get directly connected to one another. If you just load in all the points without using RouteName, they will all connect sequentially, which isn't what you want. Each OD pair should have a unique RouteName value. Configured that way, the results will contain one individual route from the origin to the destination for each unique RouteName. It's unlikely you will be able to solve all 200 thousand routes in one go. You will probably have to break up the problem into multiple chunks and combine the outputs afterwards. You might be able to do something in Model Builder, but an easier and more reliable way is with python. This DevSummit presentation talks about how to solve large Network Analyst problems in python. It focuses on the OD Cost Matrix solver, but many of the lessons apply equally to Route. Once you have calculated the Routes, you will need to combine the results to identify the most frequently traversed road segments. If you're doing an analysis with Route layers (as opposed to the python solver objects discussed in the video), the correct way to do this is with the Copy Traversed Source Features tool. If you're using the python solver objects, you'll probably have to do a spatial join or something, or even make a raster and count the number of times each cell is touched by a route.
... View more
06-23-2020
07:55 AM
|
1
|
1
|
1683
|
|
POST
|
When you create a restriction on the network and set up the vehicle height parameter for that restriction, the value you put in there is simply the default. You can adjust that value before solving your analysis. The best thing to do is to create two travel modes, one for each truck. A travel mode includes all the analysis settings, such as restrictions and parameters, that will be applied for the analysis. In the Restrictions section of the travel mode configuration, set the vehicle height parameter value to the appropriate value. In other words, you can just override the default value of the parameter using the correct value for the truck you're trying to model.
... View more
06-22-2020
01:57 PM
|
1
|
4
|
3215
|
|
POST
|
Since you are asking about how to do this with your own data in ArcGIS Pro, here's a summary of what you need to do: You need to create a restriction attribute that will make each road restricted by comparing the road's height limit with a parameter value indicating the height of the vehicle being modeled in the analysis. You need to set this up with a function evaluator comparing an attribute parameter representing the vehicle height against a descriptor attribute representing the height limit of the road. The descriptor attribute will probably need to use a field evaluator to draw the height limit information from a field in your street data. The best way for you to understand how to set all this up is to run through the Create a network dataset tutorial. Part of that tutorial does exactly what I described above. The sample data that comes with the tutorial also has an already-constructed example.
... View more
06-22-2020
12:55 PM
|
1
|
0
|
420
|
|
POST
|
If you can provide more details, it would help me to better answer your question. For example, are you running a network analysis using the ArcGIS Online services or the REST API or something, or are you using ArcMap or ArcGIS Pro with your own network dataset?
... View more
06-22-2020
12:25 PM
|
0
|
1
|
3215
|
| 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
|