|
POST
|
Glad to know you have it working. As far as file size, it may depend on how many route layers you have in ArcMap. Each will require it's own memory for that many stops/routes. One thing you can do is instead of Save, do a Save As to a new file name and that will most likley be smaller as it will get rid of any unnecessary information being stored in that map document. As far as "observation" it was more of a helpful suggestion that when it comes to defending your thesis, you do not want to admit ignorance about any aspect of your work! Jay Sandhu, Ph.D. 🙂
... View more
08-31-2011
01:03 PM
|
0
|
0
|
3130
|
|
POST
|
100 by 40000 OD will generate too many lines for the path solver to be efficient. i.e. each of the 100 locations will have 40,000 lines emenating from it... Best is to use the grid approach. Lines that cross each other will not connect as the default connectivity model for a network dataset is End Point connectivity. What you need to do is first run these grid lines throught the GP tool Integrate that will insert a common vertex where ever the lines cross and then in the properties of the network dataset on the connectivity tab, change the End Point to Any Vertex connectivity and build the network. Jay Sandhu
... View more
08-31-2011
12:50 PM
|
0
|
0
|
1794
|
|
POST
|
Why do you need to intersect the lines? Basically you need a straight line to connect all locations. You can do this by running an OD for all points and write out the lines to a new feature class and then create a network from it and then solve Location-Allocation. Note of caution: there is a limit to this approach. as the number of locations increases, the output lines are square of the number of inputs so it will become extremly large. AND as the number of lines leaving a location increases the shortest path algorithm will take longer to compute the paths (even though they are straight lines). So I will suggest that if you have some distance contraints, apply them to the OD so that you do not compute a fully connected network. Alternatively, you can create a dense grid network (fishnet) and use that to run your analysis on. that way the shortest path is the diagnol and is slightly more than the straight line (due to size of grid cells) and give reasonable results fast. Jay Sandhu
... View more
08-31-2011
07:31 AM
|
0
|
0
|
1794
|
|
POST
|
If all the facilities are existing/fixed and you want to allocate demand while honoring capacity then you can use a linear programming approach. You can use the Network Analyst to compute the distances (OD Cost Matrix) and export to an external linear programming package, solve and bring back the results. All of this is shown in the following resource: http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=C4E79AE3-1422-2418-88B2-008CC5F9D24F Jay Sandhu
... View more
08-29-2011
06:45 AM
|
0
|
0
|
1221
|
|
POST
|
>1. Warning: Location "Location 11" in "Stops" is on a non-traversable network element position. This means that your location is located on an edge which is restrictred due to some restriction like oneway. So check the properties of your route layer and see what restrictions are on. Can some of them be turned off? If not, then on the network locations tab of your route layer, at the bottom, there is a property called "Exclude restricted portions of the network". Check on this property. Now you will have to "re-locate" your stops. So in the NAWindow, right-click on the Stops and choose Re-calculate Location Fields and choose All (or select only the problem stops before and relocate only the selected ones). >2. Warning: No route for "9901" from location "Location 9902" to location "Location 47260" This is becase there is no path between these two locations. Most likely this could be due to restrictions that are on in the data or there is disconnected pieces in the network. So you will have to investigate that be turning off ALL restrictions and seeing if you can find a path or not. >I am new to Network Analysis and this forms a critical part of my doctoral thesis! Just an observation: If you choose to use a tool that is critical to the thesis then you need to be a master at it before you make it a critical part....but it is probably too late for that now. Jay Sandhu
... View more
08-25-2011
03:52 PM
|
0
|
0
|
3130
|
|
POST
|
There is a limit on how many lines are shown in the NAWindow. But there is no limit to how many lines are in the actual output lines featuer class. So if you right-click on the Lines and open attribute table, you should be able to click on the go to end of the table key at the bottom left or simply keep on scrolling down to the end. Jay Sandhu
... View more
08-25-2011
02:57 PM
|
0
|
0
|
771
|
|
POST
|
Get the SP2 for 10 and then the python formula will work. Or you can do the following: Add your streets to ArcMap, then set the data frame property and choose an appropriate projection to display the data. Now open the attribute table, click on the newly added Miles field, right-click and choose "Calculate Geometry". Pick "Length" in the property and Miles for the units and make sure the Use Coordinate system of the data frame is checked on. Click Ok and it will fill in the projected length in miles for that field. Jay Sandhu
... View more
08-25-2011
10:30 AM
|
0
|
0
|
1626
|
|
POST
|
There may be some date/time stamp problem on the files on that ArcSDE server. You could contact tech support for more in-depth analysis or in the meantime you could make the network dataset "dirty" by adding an additional attribute and then removing it and then re-build. The error you report for edit session needed for file geodatabase does not make sense as their is no versioning going on there. Again you may want to contact tech support for further investigation. Jay Sandhu
... View more
08-25-2011
10:21 AM
|
0
|
0
|
845
|
|
POST
|
Open the attribute table of the streets and add two fields type double called something line Length and Time. Then right-click on the Length and bring up the Field Calculator. Make sure to click on the PYTHON (not VBScript) and type this formula with the exclaimation signs: !Shape.Length@miles! and click ok. This will compute the shape length in miles for each edge and put the value in for that field. Now you need to convert this meters lenght into travel time in minutes. The speed is in Miles per hour. So knowing that their are 60 minuets in an hour, bring up the field calculator for the Time field and type this formula [Length] / [SPEED] * 60.0 Click ok. Note the length and speed are the existing fields in your data. Now you should have the length in miles and travel time in minutes that you can use as evaluators. Regards, Jay Sandhu
... View more
08-24-2011
03:29 PM
|
0
|
0
|
1626
|
|
POST
|
The street data in SDC format already has a network dataset build and ready to route. Can you use that directly? Jay Sandhu
... View more
08-23-2011
02:48 PM
|
0
|
0
|
1626
|
|
POST
|
If directions are grayed out in the wizard then most likely your input feature class does not have any text field that can be used for directions. So check that and add some text field with street names and try again. Jay Sandhu
... View more
08-22-2011
01:37 PM
|
0
|
0
|
1324
|
|
POST
|
Bring up the properties of the network dataset and click on the Directions tab. Are the directions enabled? If not, then click on the Directions button and set at a minimum the field from which the street name for each edge will be populated. Click Ok and re-create the route layer and solve and directions should be enabled. Jay Sandhu
... View more
08-21-2011
07:38 PM
|
0
|
0
|
1324
|
|
POST
|
The Edges table generated by the traversal result should have a field called RouteID. This is same as the ObjectID in the CF Routes table. You should be able to simpy solve all your paths in a single CF and then generate the traversal result. However I think you do not need all paths from incidents to facilities and that is why you are running CF in a loop for each "OD pair". In that case, CF is the wrong solver to use. Why not use the Route solver? You can load ALL the OD pairs with a common ROUTENAME and it will solve all 1770 routes and then run the traversal result once to get everything. If this is really what you need to do then search the forums on ROUTENAME and see how to use that to make the Route solver solve multiple OD pairs. Jay Sandhu
... View more
08-19-2011
12:21 PM
|
0
|
0
|
3085
|
|
POST
|
The edges traversed by a route are kept in memory as a traversal result. You can access them via VBA or a C# addin. You can search the forums on "traversal result" for all these ways or use the following AddIn: http://resources.arcgis.com/gallery/file/ArcObjects-.NET-API-Code-Gallery/details?entryID=C8A2186E-1422-2418-3494-48812C8DB8DE Jay Sandhu
... View more
08-19-2011
06:47 AM
|
0
|
0
|
3085
|
|
POST
|
Your screen shot is very fuzzy so cannot really tell what lines should be in or out of the service area. Also it is not shown where the facility location is that generated the service area. But it looks like you are doing the default Generalized service ares. Bring up the service area layer properties and on the Polygon generation tab click on the Detailed method and re-solve and see if that will clear the problems you are encountering. Jay Sandhu
... View more
08-18-2011
01:10 PM
|
0
|
0
|
6686
|
| 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
|