0
votes
0answers
14 views

AddLocations_na not loading routes properly from python script

I am trying to do network analysis with python from ArcGIS 10.0 but AddLocations_na is not loading the routes from the routes attribute table. It works for depots and orders quite well however. The ...
0
votes
1answer
27 views

Arcpy Network Analyst solver error

Hello GIS Stack Exchange, I am finding it difficult to load locations to sublayers using python in ArcGIS 10.0 network analyst Vehicle routing problem. I'm also having some trouble debugging my ...
0
votes
1answer
24 views

Make Route with Python and network analyst in ArcGIS 10

Good Day, I'm having trouble debugging my python code to create a network analyst layer in ArcGIS 10.0. Basically when run from a script tool the code completes successfully without actually doing ...
1
vote
1answer
104 views

Why does Add Field to Layer File give “ERROR 000840: The value is not a Feature Layer”?

I'm trying to add a field to a layer file, but it always gives an error. What I did was making a closest facility layer and save the result as a layer and after that I tried to add a field, but then ...
3
votes
0answers
59 views

Finding optimal network with python and network analyst in arcgis 10.0

Hello GIS StackExchange, I'd like to know if there's any way to find the shortest distance across the diagonals of a polygon. I am creating a network analyst solution to determine the most cost ...
3
votes
1answer
88 views

Ist there a way to calculate a Service Area from the Network Analyst in ArcGIS for each feature in a feature class?

I am trying to implement a python script that creates in a first step a Network Dataset and that in a second step gets a point feature class for which the tool should create for each feature in the ...
3
votes
1answer
228 views

Update Arcpy version?

This is probably the answer to my previous question. The version of arcpy that I am using does not include GetNAClassNames naClasses = arcpy.na.GetNAClassNames(serviceAreaLayer) ...
3
votes
1answer
223 views

Is it possible to use Python to perform network analysis on only part of a network?

I have a large network dataset and want to perform an analysis on it which would output the start/end point, the distance between them and whether they're first, second or third (etc.) nearest ...
1
vote
1answer
273 views

Merging OD Cost Distance Matrix result (ArcGIS 10 Network Analyst)

I've created small python script that calculates OD matrix between certain locations, i.e. not between each origin and destination but for each origin I have a set of destinations that I want to ...