Hot answers tagged network-analyst
10
If you are mostly interested in traversal/routing, go with pgRouting.
If you don't find what you need to do there, networkx has a freakishly large number of algorithms for graphs and now loads shapefiles out-of-the-box using OGR.
nx_spatial extends networkx in some minor ways mostly related to utility networks.
7
The Feature To Line (Data Management) geoprocessing tool can be used for 'cleaning up' the data.
The help file mentions:
Where input lines or polygon boundaries touch, cross, or overlap each
other at locations other than their start and end vertices, they will
be split at those intersections; each of the split lines will become
an output line ...
5
You might want to browse this post:
Alternatives to pgRouting
and look through the previous posts using the Network and Routing tags
5
Firstly, I am not clear on what kind of output you expect. Do the red and blue vertices consist of pairs? (i.e. do you want the shortest path from one of the red vertex to a specific blue Vertex?)
You should have a look at creating shortest routes
This requires all the stops that you route must past through. So assuming that your requirement is the shortest ...
5
The question has been asked before:
http://stackoverflow.com/questions/9535819/find-all-paths-between-two-graph-nodes and
http://stackoverflow.com/questions/58306/graph-algorithm-to-find-all-connections-between-two-arbitrary-vertices
4
So here is what I would Find out:
Is your License valid, and not expired? To see this go to Start>>ArcGIS>>Desktop Administrator and go to the Availability Section. You will see how many ArcGIS Network Analyst extension licenses are available on your License Server, and how many are free. It will also indicate the expiry date of the License.
In ArcCatalog ...
3
You are getting that result because you chose PedestrianTime for your Impedance. The solver only considered the streets because of that.
The PedestrianTime network attribute represents the time it takes a
pedestrian to travel on the network.
If you wanted the best route, you should set the Impedance to TravelTime. This is explained in Exercise 3: ...
3
There is more than one solution to this problem.
This is a way that I would recommend:.
Assuming ArcMap is your primary tool:
Open the attribute table of the network source features.
Add a field of type "Short" (any integer type will do). This will effectively be a boolean value. Give it a name that would describe it as a restriction.
For each road ...
3
Use PgRouting. PgRouting works with PostGIS and so it falls into your category of "another OS GIS". Underdark has created a whole suite of tutorials (including installation instructions) here. A search on this site for pgrouting will generate a lot of other discussion, links and tips.
3
As the error says, you have problems with the network dataset itself not the Route layer or solving the model. I'd try several things:
1) Add a network dataset to ArcMap and when prompted do not add any source features. Does it draw correctly and has edges? If yes, then the network dataset has been built properly.
Try running a simple test of routing ...
3
I see from your tags that you are running ArcGIS 10. I've used the following method for a similar task:
1) Use Multipart to Single Part
2) Use Unsplit
In order for this to work (i.e. so that you have the lines in the proper order) you may need to break the line into the constituent end points and then change the direction based on an attribute (e.g. 1 = ...
3
Part of This sample, among other things, shows how to get a reference to the INALayer. Basically, it goes like this:
// app is an IApplication reference
ESRI.ArcGIS.NetworkAnalystUI.INetworkAnalystExtension naExt =
(ESRI.ArcGIS.NetworkAnalystUI.INetworkAnalystExtension)
app.FindExtensionByName("Network Analyst");
...
3
There are two choose for you on NAServer. The NAServer is a MapServer object extension that can be used to perform network analysis in a stateless environment using ArcGIS Server.
For publishing a network analysis service you can check out this tutorial...
1.Closest Facility Analysis: displays the best routes between incidents and facilities.
2.OD Cost ...
3
Network elements like roads must connect at either endpoints (ex: polyline splits) or a vertex on a polyline. You can use some tools like planarize to create these. You must set the connectivity for your sources to "endpoint" or "any vertex". Make sure to rebuild your network dataset afterwards.
3
You can use the Planarize Lines tool in ArcGIS (ArcEditor or ArcInfo license is required).
Keep in mind though that you would lose the overpass/underpass information in this case since all the intersecting lines will be splitted. More general reading on splitting lines is available here.
3
There is no need to send something along to the server (and expecting it back). The AsyncResponder supports a third argument "token" which can be used for this. There is no need to create special classes or wrap it when the Adobe/Apache Flex SDK support it already :)
token:Object (default = null) — Additional information to associate with this request.
...
3
This is an instance of a shortest path problem: given a set S of polygonal "obstacles" (considered as open point sets), a start point p, and an end point q, to find a shortest path from p to q that does not intersect the interior of S.
Such problems are solved by first constructing the "visibility graph" of S. One first proves that any shortest path from p ...
2
Set the snap to network option.
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Network_Analyst_options/004700000044000000/
2
Are you using a geoprocessing service or are you trying to use the NAServer endpoints? If you are trying to use the NAServer endpoints, I do not see any tasks for Route, ServiceArea, etc. in the API. I do see a gp task, but you will need to be working with a geoprocessing service to be able to use it with the API, not a NAServer service.
2
I may have misunderstood what you want here but I have a couple of suggestions:
Split your data by doing a selection and then iterating the selection set. Here I would feed a variable into a SearchCursor and iterate the rows in the cursor with a for loop. So, you have a loop that sets yourt variable (by, say, increments of 100 and you select by FID > ...
2
Normally route calculations are done as 1-to-many, which means it is faster to calculate from one destination to your 200,000 origins, because that only have to be done 1000 times as opposed to 200,000 times. If it is important to you that the routes are calculated from origin to destination, you will have to swap all oneway restrictions temporarily (because ...
2
You might also like going through a tutorial on building a network analysis service available here.
What I think is really powerful with Server 10.1 release, is that you don't have to build any model for getting the task you've described above as a service. There are already GP tools available out-of-the-box with 10.1 that incorporate this logic. The ...
2
You will most likely need to create transfer edges. I have found the ESRI help on this topic to be quite informative, as well as the 2nd exercise in the Network Analyst tutorial.
2
You can use the Make Service Area Layer, Add Locations, Solve, and Save to layer file geoprocessing tools to generate service areas for multiple input features (e.g. a point layer with geocoded addresses). This is analagous to the workflow using the ArcMap GUI described in the Service area analysis help topic.
2
ET GeoWizards has a split Polyline with Layer tool that might work for you. It requires the polyline layer you want to split (creates a new shapefile or feature class) and a layer that it uses to split the lines. I used it to split pipes (polyline) into zones (polygon) and it worked nicely but it works with two polylines as well.
If all your roads are part ...
2
One solution would be to create your own custom geoprocess that wraps the RouteTask. You pass all the parameters for the RouteTask and your extra parameters and then return the result of the RouteTask along with your own parameters. I used this method to take geocoding parameters and my own custom parameters, then called the geoprocess function and returned ...
2
It turns out that barriers do not retain 3D information when processed, and the barrier will apply to all features regardless of z value. Read this thread to gain more information: http://forums.arcgis.com/threads/80757-3D-Barriers
2
The easiest way eliminate the overlapping regions is within the buffer tool itself. To illustrate, the image to the left shows overlapping polygon buffers for each line segment. On the right, I specified Dissolve Type "ALL".
2
Note: I'm assuming you are using the built-in StreetMap North America dataset that comes with ArcGIS to perform your network analyses.
There are two factors that may be influencing your service areas created with Network Analyst: hierarchical analysis and polygon type.
Hierarchical analysis is a heuristic method for solving drive time by favoring travel ...
2
You cannot create a network dataset with arcpy at this time. Your option is to use ArcObjects. There is a Street Data Processing toolbox that is built on .NET by Esri (the source code is provided), which you might modify to meet your business workflows. A GP tool which is part of the toolbox creates a network dataset with certain user-defined parameters, so ...
Only top voted, non community-wiki answers of a minimum length are eligible




