|
POST
|
His goal is to assign to the major nodes the total number of connections or possible routes between them, and the sum of the vehicle capacity of all those connections. Can you be more precise on what you want in the matrix? That is, for a list of (major) node locations, make a matrix of each node to every other such node with some value. This value is: "total number of connections or possible routes between them" Well this can be infinite. So define it better and perhaps we can come up with a way to fill in the matrix. Jay Sandhu
... View more
06-22-2012
12:37 PM
|
0
|
0
|
799
|
|
POST
|
If you are loading multiple sets of locations (stops) to the same route solver to solve at once then you need to make sure you map the "ROTUENAME" property for each set so that they will solve as separate sets of stops. Also, rather than changing the stores to be a list of values, you can chain in more ADD LOCATIONS. So in that model, you can add another add location tool whose input route layer is the output of the previous add location tool. To set the routename property, in the model, double-click on the add locations tool to open it. In the Field Mappings section, the second property, after name, is Routename. Map this to some unique number or field for each set of locations you want to load in. You can read more about it here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Route_analysis/004700000045000000/ Jay Sandhu
... View more
06-22-2012
07:41 AM
|
0
|
0
|
590
|
|
POST
|
If you can cannot find any facilities then try using the route solver. Can you find any paths between your one incident and any other facility point? Most likely there is some connectivity issue in the data or a restriction that is causing the path not to be found. If the route solver does not work, I suggest that you use the service area solver, load your incident as the facility and on the properties of the layer, polygon tab, turn off the polygons and on the line tab, turn on the line generation and solve for say 30 miles (or something appropriate) and see if the returned set of lines show any problem with connectivity. To answer your other question on what is the most appropriate solver for your scenario, it is the closest facility. You can use it to find the roads that will be on the shortest path from all your incidents to all your facilities. Jay Sandhu
... View more
06-13-2012
07:39 AM
|
0
|
0
|
790
|
|
POST
|
As I mentioned in the previous post, when you use Calculate Locations, it adds the OID of the line feature class and the side of street information on the input points. You can use that to populate the line feature class. Jay Sandhu
... View more
06-08-2012
08:24 AM
|
0
|
0
|
1011
|
|
POST
|
If you build a network dataset on your street data and then use the GP tool Calculate Locations on your point features, it will add the side of street information on to each point based on the closest edge (or subject to any query you could put in for locating). Jay Sandhu
... View more
06-06-2012
03:01 PM
|
0
|
0
|
1011
|
|
POST
|
If you try to solve all paths between 787,808 incidents and 65,873 facilities then that will result in about 52 billion paths and the system will run out of memory. Hopefully your 5 minute cutoff will result in a more manageable number. Jay Sandhu
... View more
06-05-2012
08:43 AM
|
0
|
0
|
3766
|
|
POST
|
If the out of memory is during a closest facility solve then how many incidents, facilities do you have and how many are you solving on? And do you have hierarchy on OR a meaningful cutoff in place? For example if the closest facilities should be within 60 minutes, then use that as the distance cutoff. Jay Sandhu
... View more
06-04-2012
02:59 PM
|
0
|
0
|
3766
|
|
POST
|
You can use the Closest Facility solver to do this. Load your 1 facility as the Incident in the closest facility layer, the 500 locations into the Facility layer and then bring up the properties of the closest facility layer and on the analysis tab in the Facilities to Find, enter 500, click ok on the properties and then solve. You will get 500 shortest path routes from the 500 locations to the 1 facility. Also note, you can choose to travel from the facility or to the facility as your application may need. More help here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Closest_facility_analysis/00470000004n000000/ and a tutorial on this is here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Exercise_4_Finding_the_closest_fire_stations/00470000005z000000/ Jay Sandhu
... View more
06-04-2012
08:26 AM
|
0
|
0
|
1276
|
|
POST
|
Most likley the network data is not good in terms of connectivity. If you are using the ESRI Streetmap data then there is a network already built ready to use. You can search for the streets.rs file to see where that may be located in your data folders. There is no need to export the data to build a network dataset to use with Network Analyst. Jay Sandhu
... View more
06-04-2012
06:58 AM
|
0
|
0
|
589
|
|
POST
|
If the network data, software, settings, locations are all the same between the Route and OD and you are getting such large differences then I suggest the next step is to contact Esri technical support and have them reproduce the issue. Jay Sandhu
... View more
06-04-2012
06:50 AM
|
0
|
0
|
1015
|
|
POST
|
The results should match. Make sure you have the direction of the Route start and end in the same way as the origin to destination to compare the path length. And also make sure the hierarchy is on or off in the same way between the route and OD solve and are using the same network dataset. Jay Sandhu
... View more
06-01-2012
07:22 AM
|
0
|
0
|
1015
|
|
POST
|
What version of ArcGIS 10.1 do you have? Beta, Pre-Release? Have you tried posting to the beta forums or calling tech support? This forum is not for beta products. Jay Sandhu
... View more
05-30-2012
07:18 AM
|
0
|
0
|
1279
|
|
POST
|
The VBA code is already linked into this forum post. Jay Sandhu
... View more
05-30-2012
07:15 AM
|
0
|
0
|
1121
|
|
POST
|
You can add the network dataset in ArcMap as the first layer and then run the following VBA. It will write to the immediate window in the VBA window, the OID of the 1 valent junctions and the OID of the connected Edge. You can format the output as needed and write to a file. Change it as needed. Jay Sandhu Public Sub List_OneValent_Junctions()
On Error GoTo eh
Dim pMxDoc As IMxDocument
Set pMxDoc = ThisDocument
Dim pNLayer As INetworkLayer
Set pNLayer = pMxDoc.FocusMap.Layer(0)
Dim pND As INetworkDataset
Set pND = pNLayer.NetworkDataset
Dim pNQ As INetworkQuery
Set pNQ = pND
Dim pEnumNE As IEnumNetworkElement
Set pEnumNE = pNQ.Elements(esriNETJunction)
Dim pNEdge As INetworkEdge
Set pNEdge = pNQ.CreateNetworkElement(esriNETEdge)
Dim pNEFromJunc As INetworkJunction
Set pNEFromJunc = pNQ.CreateNetworkElement(esriNETJunction)
Dim pNEToJunc As INetworkJunction
Set pNEToJunc = pNQ.CreateNetworkElement(esriNETJunction)
Dim pNE As INetworkElement
Set pNE = pEnumNE.Next
Dim pNEJunc As INetworkJunction
Set pNEJunc = pNE
Dim val1 As Integer
val1 = 0
'Find 1 valent edges and write out Junction OID and Edge OID
Do Until pNE Is Nothing
valency = pNEJunc.EdgeCount
If valency = 1 Then
pNEJunc.QueryEdge 0, False, pNEdge
Debug.Print pNEJunc.OID & ", " & pNEdge.OID
val1 = val1 + 1
End If
Set pNE = pEnumNE.Next
Loop
Debug.Print "Total one valent edges: " & val1
Exit Sub
eh:
MsgBox "Error: " & Err.Description
End Sub
... View more
05-24-2012
07:35 AM
|
0
|
0
|
1162
|
|
POST
|
You could look at using the GP tool Feature To Line in data management\features and then for each unique polygon id find the largest line feature using the GP tool Summary Statistics where you want the feature with Max length and use the polygon feature id as the case field. These tools are described here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Feature_To_Line/001700000039000000/ and http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Summary_Statistics/00080000001z000000/ Jay Sandhu
... View more
05-24-2012
07:01 AM
|
0
|
0
|
1016
|
| 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 |
05-29-2026
01:54 PM
|