Tag Info

New answers tagged

2

Hmm that is strange. Does this return True? >>> import arcpy >>> 'GetNAClassNames' in dir(arcpy.na) True I don't know how it could be missing, perhaps something could have gone wrong during your install?


0

You don't really need polygons, and in fact points for your origins and destinations would work better. You can have a point represent a building or parking lot, but it sounds like you're working at a pedestrian scale in which case it might be better to have points for specific building entrances or other such destinations. The most important thing with ...


0

Network Analyst will automatically snap points (incidents or facilities) to the nearest network edge when you add them if configured to do so; there's no need to do so beforehand. If you want to force it, Snap could be used (requires Standard or Advanced license, directly modifies data so run it on a copy). If you actually want to draw a new line to ...


1

Per my comment - if you do: Feature Vertice to Point Spline (The ToBreak field should act as a distance field you can use to supply the Z field in Spline) You'll get something that close to what I think you're after.


1

come across and solved the problem just now cause RouteParameters 's default value of UseHierarchy is True just set UseHierarchy to False RouteParameters parameters = new RouteParameters(); parameters.Stops = stopsGraphicsLayer; parameters.OutSpatialReference = MyMap.SpatialReference; parameters.UseHierarchy = false; routeTask.SolveAsync(parameters);


1

Since the network analysis is not concerned with specific attributes or properties of the features, only their location on and relation to the network, there isn't really a way to include them as part of the solver output. However, you can take your polygon results, export them to a standalone shapefile/feature class, and then use a spatial join or other ...


0

First go through my answer here: http://gis.stackexchange.com/a/104262/14435. This will let you understand how to create a network dataset. Go though an Esri KB exercise - I recommend this to anyone who starts working with NA. It won't take much time but will give you all the basics you need to create a network dataset on your own (with your own data). Ask ...



Top 50 recent answers are included