Geographic Information Systems Asked by Keanan Gleason on December 12, 2020
I’m trying to build service areas for a low-voltage utility network, but am having trouble solving the network analysis. Here is the code to build the service area:
Treatment_SA = arcpy.na.MakeServiceAreaLayer (network, district+"_Treatment_SA", "Length", "TRAVEL_FROM", "200" , "DETAILED_POLYS", "NO_MERGE" , "DISKS", "NO_LINES" , "NON_OVERLAP", "NO_SPLIT", Feeders, "", "", "", "TRIM_POLYS", distance_from_line)
Treatment_SA = Treatment_SA.getOutput(0)
#Load Elements
arcpy.na.AddLocations (Treatment_SA, "Facilities", Injection_TX, "", "25 Meters")
arcpy.na.AddLocations (Treatment_SA, "Polygon Barriers", Existing_TX_Polygons, "", "25 Meters")
#Solve
arcpy.na.Solve(Treatment_SA,"SKIP")
I’m not too worried about errors in the code since it has run successfully with other data, but I’m including in this post in case it is helpful. When I run this code, I receive error 030024:
Solve returned a failure. No edges were traversed. Failed to execute (Solve).
How can I find out more about what is causing this error?
Whenever ArcGIS Pro (or ArcMap) returns error messages there is a chance that the error is actually a link to a page like 030024: Solve returned a failure:
Description
The Network Analyst solver could not determine a solution.
Solution
The solver could fail to compute a solution in many scenarios. Check the messages returned by the solver to figure out the possible reason for the failure. Learn more about troubleshooting network analyses
Answered by PolyGeo on December 12, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP