|
POST
|
The SDC Streetmap product is ready for routing with Network Dataset. You do not have to put this into a file geodatabase. In ArcMap, catalog window or add data, navigate to the streetmap folder and you should see a "street" network dataset that you can add to ArcMap. In case you are having trouble finding this, look for the streets.rs file in windows explorer. That is what ArcMap needs to locate and add to table of contents but it will show up with a nice network icon next to in int catalog. Also, make sure the Network Analyst extension is turned on (from Customize menu) and add the network analyst toolbar. Now the solvers will not be grayed out. Jay Sandhu
... View more
11-04-2011
06:37 AM
|
0
|
0
|
701
|
|
POST
|
In that case I will suggest that you use the Closest Facility solver instead of the OD. Use the Origins as Incidents and the Destinations will be Facilities and make sure on the Analysis Settings to set the Facilities to Find to the total number of destinations you have. You should be able to map the "distance" to the Attr_Length on both facilities and destinations. Jay Sandhu
... View more
11-02-2011
07:46 AM
|
0
|
0
|
2397
|
|
POST
|
hi, Ideally they should not differ. And yes, snapping distances are not added (as far as I am sure). Do you have problems with all the pairs ? If not, just have another look at your cutoff distance parameter in your settings for OD matrix. This should not be the reason, but just have a look. . The OD and all Network Analyst solvers find paths from the location where they snapped on the network. If your point is 30 meters away and you solve on travel time, how do you add the 30 meters to the travel time. So the total path length (in attribute units) is always on the network. It has nothing to do with the CUTOFF which is used to limit how far away you want to compute the distances too. As the documentation suggests, OD matrix is a quick solver and does not take into account shapes. May be there are slight differences in the manual version and OD (batch) versions of the algorithms. I stand under correction. Where does the documentation suggest that OD does not take into account shapes? The OD solver and all the Network Analyst solvers compute distances on the actual network. The only thing OD does not return back (for performance reason) is the actual geometry of the path taken. The OD is used when all you want is the network distance and do not care to see the path geometry. So to answer the original post, OD returns back distances on the network. If you want to add the snapping distance, then first use the GP tool Calculate Locations on your points. This will add the network location fields and also the x,y of the snapped point and distance to the network edge (make sure your projection is set to return the same distance unit as what you are solving on so that you get miles from edge if you are solving to minimize miles or you can convert it later with field calulator). Now create the OD layer and when you do load location, use the network location fields AND map the distance to the Attr_Length (or what ever the name of your distance attribute is). Now when you solve, the distance to the network will be added to the path length returned back after the solve. Jay Sandhu
... View more
10-31-2011
06:50 AM
|
0
|
0
|
2397
|
|
POST
|
The best way to use point locations such as ports is to add/digitize new links to connect the port to the relevant location on the rest of the network. You could take a look at the Paris multi-modal dataset that is part of the Network Analyst tutorials to see how roads are connected to bus stops/transfer stations to rail. The exercise 2 is here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Exercise_2_Creating_a_multimodal_network_dataset/00470000005v000000/ Regards, Jay Sandhu
... View more
10-27-2011
01:10 PM
|
0
|
0
|
1014
|
|
POST
|
You can add a network dataset to ArcMap and run the following code to list out each junction and its adjacent set of edges. Customize it as needed for your needs. Jay Sandhu Public Sub List_ND_Junctions() 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 pNE As INetworkElement Set pNE = pEnumNE.Next Dim pNJunc As INetworkJunction Set pNJunc = pNE Dim i As Integer Dim j As Integer Dim pEdge As INetworkEdge Set pEdge = pNQ.CreateNetworkElement(esriNETEdge) 'Print out junction OID and all it's connected edge OID's Debug.Print "JunctionOID Count Edge# OID" Do Until pNE Is Nothing j = pNJunc.EdgeCount Debug.Print pNJunc.OID, j For i = 0 To j - 1 pNJunc.QueryEdge i, False, pEdge Debug.Print " ", i + 1, pEdge.OID Next i Set pNE = pEnumNE.Next Loop End Sub
... View more
10-24-2011
07:39 AM
|
1
|
0
|
4514
|
|
POST
|
It is not clear from your post what you want to accomplish. A multimodal network is a dataset that combines different modes of travel such as rail, bus, bike, pedestrian and car. It has nothing to do with closest facility. Once you have a network on which you want to travel on, you create a closest facility layer and load in your facilities and incidents and solve to compute the distances between them. So if I uderstand your question, you want to compute distances from facilities set X and set Y, then load them into the closest facility layer and solve. If you want to find the distance between one X and one Y then use the Route solver. Jay Sandhu
... View more
10-24-2011
06:40 AM
|
0
|
0
|
1027
|
|
POST
|
Yes it is possible. Each origin as the Cutoff_,attribute name> property that can be set. So if you are solving on a length attribute in miles called Length, then the origins attribute table has a field called Cutoff_Length. You can set it individually for each origin. Or better yet, when you do a Load Locations, this property is listed, so simply map it some field on your existing origins point feature class and have it loaded with the origin locations. Similarly the facilities on the service area solver have a Break_<attribute name> property. You can set it how big of a service area you want computed. And again, you can use Load Locations to load it as well. Regards, Jay Sandhu
... View more
10-18-2011
01:05 PM
|
0
|
0
|
817
|
|
POST
|
When I first replied I assumed you were using a network dataset built inside a geodatabase. You are using a shape file based network. Since the junctions created automatically is also a shape file nothing prevents you from editing it. But that does not mean the network dataset will support reading the extra fields. Once you move to a geodatabase we can enfore more rules on when you can edit, etc, thus you are preventing from modifying the system junctions. Jay Sandhu
... View more
10-18-2011
11:57 AM
|
0
|
0
|
958
|
|
POST
|
A network dataset can only be created inside a feature dataset. So you need to create a geodatabase, then a new feature dataset (and set it's spatial reference to the streets feature class) and then import or copy all the feature classes into the feature dataset. Now you should be able to create the network dataset. The reason it needs to be in a feature dataset is so that all the sources making up a network should have the same spatial reference. You can get more familliar with network capabilities by running through the tutorials for network dataset here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/About_the_ArcGIS_Network_Analyst_tutorial/00470000005r000000/ Jay Sandhu
... View more
10-14-2011
09:26 AM
|
0
|
0
|
958
|
|
POST
|
You should use the OD Cost Matrix solver and not the route solver. You can load all your 1960 departure locations as Origins and your 1 arrival location as the Destination and Solve. You will get an output line feature class with 1960 records. Do note that it will place a straight line between the locations but the computed distance will be over the network. If you also want to get the geometry of the actual path travelled then use the Closest Facility solver. Read more about OD Cost Matrix here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/OD_cost_matrix_analysis/00470000004r000000/ Jay Sandhu
... View more
10-14-2011
06:58 AM
|
0
|
0
|
1380
|
|
POST
|
What is the source of your features for the network dataset? Is it a shape file? In that case you will have to put your data in a file geodatabase. For shape files, you can only make a network dataset from one line feature class. Jay Sandhu
... View more
10-14-2011
06:51 AM
|
0
|
0
|
2867
|
|
POST
|
Most likely the data is in use and thus you are being prevented to change it or could be read only. Perhaps, close all your ArcGIS applications (like arcmap), then Start ArcCatalog and see if you can alter the schema. Regards, Jay Sandhu
... View more
10-13-2011
02:50 PM
|
0
|
0
|
2867
|
|
POST
|
The system junctions that are created by the build of a network dataset cannot be modified. What you can do is create your own junction point feature class and add fields to it and make it part of the network. One way to "reuse" the existing junctions is to make a copy of the system junctions (use GP tool Copy Features), edit this new point feature class as you need to by adding fields, etc. Now bring up the properties of your network dataset and add the new point feature class as a source and rebuild the network. Now the system junction feature class will have no records as all the junctions have been supplied from your new point feature class. Just remember if you edit the streets, the system junctions may start getting some features for the new intersections. Jay Sandhu
... View more
10-13-2011
06:41 AM
|
0
|
0
|
2867
|
|
POST
|
Glad you figured it out! By the way, there is a forum dedicated to Network Analyst. So please post your questions there for faster response! http://forums.arcgis.com/forums/102-Network-Analyst Jay Sandhu
... View more
10-11-2011
10:52 AM
|
0
|
0
|
648
|
|
POST
|
You can add an attribute to your network dataset that can return you the from and to azimuths of the edges. This can be done by using a script evaluator. For example add a cost attribute called LineAzimuth, then click on the evaluators and for the type pick script and for the value, click on the icon on the right to bring up the script evaluators and pick Edge and then FromAzimuth (for the From-To direction of the edge) and set the Edge.ToAzimuth for the To-From direction. Click Ok and build. Now when you query, display, identify an edge you will get the from starting and to ending azimuths of each edge. You can read more about the script evaluators here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Assigning_evaluators/004700000021000000/ And you can get more info on the azimuth and other network edge properties here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//002500000563000000 Jay Sandhu
... View more
10-06-2011
08:25 AM
|
0
|
0
|
1215
|
| 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
|