|
POST
|
You start of by saying that you want the distance between two cities and then it is not clear from your post what you need to generate. Can you elaborate on what is "link length" as opposed to "shortest distance" that the OD Cost Matrix generates? OD Cost matrix generates the shortest path distance (route over the network) between the sets of origins and destinations. Not sure what other distance you need. Please elaborate. Jay Sandhu
... View more
09-13-2010
07:12 AM
|
0
|
0
|
1424
|
|
POST
|
Take a look at this resource to add the traversal result (every edge that makes up the path) and then use it to select the source edges you want. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000245000000 Jay Sandhu
... View more
09-10-2010
07:56 AM
|
0
|
0
|
360
|
|
POST
|
Your attached zip file cannot be downloaded as it says it's corrupt. If the Stop properties are null, then you need re-load your Stops. But when you do that, on the Load Locations dialog, make sure to map the time window fields and then open the Stops attribute table to see that the values have been set. Jay Sandhu
... View more
08-31-2010
08:42 AM
|
0
|
0
|
1190
|
|
POST
|
Your screen shots for the attribute tables for bb show the TWStart1 and TWEnd1 are on the point feature class. BUT, do you load these values to the Stops when you do Load Locations? That is, open the attribute table for Stops and see if these values are set on the Stops TimeWindowsStart and TimeWindowsEnd columns. If they are not set then you need to reload your stops by maping these fields when you do load locations so that the values load in. Regards, Jay Sandhu
... View more
08-31-2010
06:28 AM
|
0
|
0
|
1190
|
|
POST
|
Given your setup, the path should start at 8:00 AM, get to the middle stop a short while later and then depart at 9:00 AM and end the path at the third stop around 9:03 AM. So can you double check that the ending time on the third stop is 9:03 and not 8:03 Also, can you bring up the properties of the middle stop and check that the time windows start and end are set to 9:00 AM and 10:00 AM? Jay Sandhu
... View more
08-30-2010
03:31 PM
|
0
|
0
|
1190
|
|
POST
|
Did you bring up the properties of the Route layer and turn on the "Use Start Time" and set a start time as well as turn on the "Use Time Windows" option? Jay Sandhu
... View more
08-30-2010
08:47 AM
|
0
|
0
|
1190
|
|
POST
|
Well, the service area solver starts from a point location. But you could turn your line into points, i.e., either by selecting all the junctions that lie under the line and also add the line end points and then run a service area from multiple points but with the option to "Merge by break value". This will generate multiple service area polygons and then merge them together. Jay Sandhu
... View more
08-25-2010
12:23 PM
|
0
|
0
|
1172
|
|
POST
|
Have you used the Service Area solver in Network Analyst? If you have and are not happy with the polygons it generated, you can bring up the properties of the service area layer and on the Line Generation tab, turn on the Generate Lines option and you will get the road lines that make up the service area from which the polygon is derived. Jay Sandhu
... View more
08-24-2010
12:38 PM
|
0
|
0
|
1172
|
|
POST
|
You do need a time attribute for using VRP. The formual you used is fine but you need to qualify it for the various types of road times (not just use 25 MPH for all roads). But let me ask you a question: any reason why you are using Tiger data? Why not use the streetmap data that comes with ArcGIS on the data and maps dvd. It will be better than Tiger and has a time attribute built in. Regards, Jay Sandhu
... View more
08-16-2010
08:56 AM
|
0
|
0
|
804
|
|
POST
|
From your description it sounds like the orders are not located where they should be. This can happen if you had previously located them on another network and saved them and re-loaded to a new network. That is, network location fields get populated and used next time when you use Load Locations (you can choose use geometry option to avoid this problem). The way to fix this is to right-click the orders in the NA Window and choose "Recalculate Location Fields" All option. You can do the same with the Depot and then re-solve. Regards, Jay Sandhu
... View more
08-13-2010
06:57 AM
|
0
|
0
|
804
|
|
POST
|
On the network locations tab, you can un-check the sources that you do not want to locate on. By default they are all checked on (except for the system junctions). Jay Sandhu
... View more
08-10-2010
11:59 AM
|
0
|
0
|
909
|
|
POST
|
You will have to do three solves with each solve setting the impedance attribute as you need and then sum up the distances from the three solves. One route solve can only honor one setting. As far as loading locations, you have a lot more control besides the first and closest by using he build query option (right-click on one of the sources in the network locations tab to bring this up). You can read more about it here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_are_network_analysis_objects/00470000003n000000/GUID-9722833A-C61D-4E66-87CD-796A8A7231A1/ Jay Sandhu
... View more
08-10-2010
08:06 AM
|
0
|
0
|
909
|
|
POST
|
Martin, You can get some more information on the algorithms from the online help: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Algorithms_used_by_Network_Analyst/004700000053000000/ Regards, Jay Sandhu
... View more
08-06-2010
01:11 PM
|
0
|
0
|
638
|
|
POST
|
You can do this with the Network Analyst extension of ArcMap. The Route solver with the option to reorder stops to find the optimal order will give you the best way to visit the stops. Since you do not have a network and it is an open area, then you will have to create a network to make the Network Analyst work. Use the fishnet tool (in ArcToolbox) to create an appropriate sized grid feature class to cover the area and then create a network dataset on it to use for routing. I would suggest going through the Network Analyst Tutorials to get more familiar with these tools. Regards, Jay Sandhu
... View more
07-19-2010
08:04 AM
|
0
|
0
|
571
|
|
POST
|
Adam, Probably the quickest way would be dump out the network dataset edge attribute information to a table and then add it to ArcMap and do a join. As long as you have one line source in your network dataset and simple end point connectivity, i.e. the input line features were not split into multiple edges in the network, then you can use the following VBA to write out a file with the ID and Length. Modify as needed. Regards, Jay Sandhu Public Sub List_ND_Topology() Dim pMxDoc As IMxDocument Set pMxDoc = ThisDocument Dim pNLayer As INetworkLayer Set pNLayer = pMxDoc.SelectedLayer Dim pND As INetworkDataset Set pND = pNLayer.NetworkDataset Dim pNQ As INetworkQuery Set pNQ = pND Dim pEnumNE As IEnumNetworkElement Set pEnumNE = pNQ.Elements(esriNETEdge) Dim pNE As INetworkElement Set pNE = pEnumNE.Next Dim pNEdge As INetworkEdge Set pNEdge = pNE Dim i As Integer Open "c:\ND_Length.csv" For Output As #1 'set path as needed Print #1, """EdgeOID"", ""Length_Attribute""" Do Until pNE Is Nothing Print #1, pNE.OID; ","; pNE.AttributeValueByName("Length") Set pNE = pEnumNE.Next Loop Close #1 End Sub
... View more
07-06-2010
09:02 PM
|
0
|
0
|
2009
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-21-2023 09:39 AM | |
| 1 | 11-20-2024 09:29 AM | |
| 1 | 10-09-2024 09:23 AM | |
| 1 | 09-09-2024 08:54 AM | |
| 1 | 09-05-2024 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-31-2025
08:20 AM
|