|
POST
|
Brad, I think you have some confusion over what is a "cost". When you create a network dataset, you specify the sources (like edges and turns, etc) that provide the geometry and topology rules. You also define "attributes" like costs, restrictions, etc. One cost could be traveltime and another Length. Then you specify how these will be populated from fields (or other types of evaluators) from the input sources. One of these costs can be marked as Use be default. When you create a route analysis layer, it will set the cost marked as use by default as the one to solve on. But you can bring up the properties of the route layer and pick a different one. As far as question 2, you do not need a turn feature class to use global turns. Please read my detailed response in previous message that explained the difference between the two and when you need the turn feature class. For more on question 4, I suggest you read more on network datasets: What is a network dataset?—Help | ArcGIS Desktop And then I will suggest that you go through the Network Analyst tutorials that are available here: About the ArcGIS Network Analyst extension tutorial—Help | ArcGIS Desktop Regards, Jay Sandhu
... View more
05-10-2018
01:22 PM
|
1
|
0
|
7934
|
|
POST
|
Brad, You ask a number of questions. So let me try to answer them. Global turns are useful to specify overall trends, such as left turns take longer than right turns. They are important if you are trying to get accurate travel times. A turn feature class can be created so you can model turn restrictions or complex turns or specific turns. That is, a certain turn is not allowed or a turn at a complex intersections requires going through many edges to restrict a turning movement or some turn has an unusual delay that cannot be accounted for by the global turn penalties. Delay, as the word implies has to do with time. It does not make sense if you are finding a shortest path based on length to also have a delay at a turn. How do you combine the two different costs? So have a cost attribute based on time (say in minutes) and make sure your turn delay are in the same units (i.e., minutes). A shortest path solve will minimize the cost attribute you specify in the route analysis layer. The use by default makes it easy to say which one to use. Only one cost can be minimized. You can pick any non-default cost attribute to solve a shortest path. As far as why the global turns are not getting used in your case, it could be way you have specified the cost attribute and then in using it with the route analysis solver. One handy tool that you can use to see how the costs are setup is the Network Identify tool. It is the second icon from the right on the NA toolbar. You can add your network dataset to map, then use this tool to examine edges and see how they are connected to others and also see the cost values associated with them. If you cannot get the global turns to work, I would suggest that you contact Esri technical support so that they may get your data and see what needs to be done to make it work. Jay Sandhu
... View more
05-10-2018
11:41 AM
|
1
|
2
|
7934
|
|
POST
|
When you load your point layer as "demand" for a location-allocation layer, you can map in the field that contains your allocation weighting as "Weight". See the attached screen shot that maps the field POP2000 to the weight property. Similarly you can map in the "Capacity" for the Facilities. Make sure to use the "Maximize Capacitated Coverage" problem type to solve with capacity. Jay Sandhu
... View more
05-10-2018
09:46 AM
|
0
|
0
|
2119
|
|
POST
|
Anu, It is not clear from your description what problem you are running into. For example, "the overpass road is selected as barrier". How is the selection turned into a barrier? Are you using it as a line barrier? And that line barrier intersects with everything it crosses turning them into restrictions? In that case, you should be placing a point barrier on that overpass road. You also mention that you have an overpass with a height restriction. Is it on that overpass, or is that overpass a bridge and the road underneath needs to be restricted due to height of bridge. If it is on the overpass, see above solution of using point barriers. You can use the GP tool Feature Vertices to Points and generate mid points on your overpass lines and use as point barriers. But do note that even if you generate a point on a road to place as a barrier, there is no guarantee that there is no other road underneath it at exactly that same mid-point (less likely but possible). Perhaps posting a picture would help clarify the issue. Jay Sandhu
... View more
05-09-2018
02:23 PM
|
1
|
0
|
1327
|
|
POST
|
Glad that worked. Generally speaking, in the output Edges feature class (output of the Copy Traversed tool), any edge that had an order will be split at the order. So one of it's FromPosition or ToPosition will not be 0 or 1. You could select all those edges where the FromPosition is 0 and ToPosition is 1 OR FromPosition is 1 and ToPosition is 0. These will be edges with no orders and you can symbolize differently. Or you could do a spatial selection of all the Edges with the orders (within a small spatial tolerance) and then reverse the selection. Jay Sandhu
... View more
04-19-2018
01:34 PM
|
0
|
0
|
1095
|
|
POST
|
I am not sure how a "split" of an existing line will flip parts of that line into different directions. But, you may want to try using the Copy Traversed Source Features tool right after you solve the NA layer. It will generate all the edges that were traversed by that route and each line should be pointing into the way it was traversed by the route. Copy Traversed Source Features—Help | ArcGIS Desktop Jay Sandhu
... View more
04-19-2018
12:01 PM
|
2
|
2
|
1095
|
|
POST
|
>I want to flip all route lines according to the orders sequence numbers. The output route from a route or VRP is a single feature class (per route) and it is already oriented in the direction of the orders sequence numbers. I do not understand your use case to "flip" these. Jay Sandhu
... View more
04-19-2018
11:36 AM
|
1
|
4
|
3000
|
|
POST
|
Francis, The "operation attempted on empty geometry" error message may not have anything to do with the SDE network dataset. It could be that you have run out of some computer resource (memory or disk space). In ArcGIS Pro, Closest Facility computes the shortest route and then generates the route geometry to write to the output Routes feature class and also generates the driving directions and writes them to the output directions feature class. It is will generate a lot of data for 2.5 million routes. Also, for a 2.5 million to 1 case, it will be solving 2.5 million routes. At a minimum, you could flip these so that you have a 1 to 2.5 million case and switch the default "Towards Facility" to "Away from Facilities" to get the same answer but the solver will only need to do ONE route solve. So let me ask, do you need the output route geometry and directions? Or do you simply need the shortest time/distance between these locations? If you do not need the actual route geometry, then use the Origin-Destination Cost Matrix solver. It will be much quicker with less overhead. OD cost matrix analysis layer—ArcGIS Pro | ArcGIS Desktop Jay Sandhu
... View more
04-19-2018
11:29 AM
|
0
|
1
|
3184
|
|
POST
|
Read the following for more info on distance errors with web mercator: https://blogs.esri.com/esri/arcgis/2010/03/05/measuring-distances-and-areas-when-your-map-uses-the-mercator-projection/ Update: The above link is not available as the Esri blog site has changed. See the link that Dan Patterson has posted for the technical support article.
... View more
03-26-2018
02:43 PM
|
1
|
1
|
2875
|
|
POST
|
It is to be expected. See the screen shot I am attaching. The red lines are projected to web mercator and the blue lines are in Lambert conformal conic. For the selected edge, the web mercator distance is 115.7 meters and the lambert conformal is 77.7 meters. The difference is about 1.5 times more in web mercator. Jay Sandhu
... View more
03-26-2018
02:40 PM
|
2
|
2
|
7639
|
|
POST
|
It looks like the service area polygons are being generated but it a display/refresh issue of some sorts. You can try the following to see if it helps: On the top of ArcMap, click on Customize, (it is third from right). Click it. From the Customize drop down, choose ArcMap Options. A popup opens up. Make the Display Cache tab active. Click on the Clear Cache and click Ok to dismiss that popup. Click F5 to refresh the ArcMap display. Does that make any difference? Jay Sandhu
... View more
03-15-2018
09:09 AM
|
1
|
0
|
2175
|
|
POST
|
For add locations, besides deletion, you can either use a restriction and/or a query. So if there is some description that is attached to those pedestrian streets that can help avoid locating on them, than a query can be passed in. Some help on query is here: Snapping network locations with Build Query—Help | ArcGIS Desktop Another option can be to have the pedestrian streets in a different feature class, so the network data will have more than on line source. Then the add locations can be instructed with the optional search criteria to locate only on the line source that you want to locate on. Look for the help on search_criteria (and search_query) here: Add Locations—Help | ArcGIS Desktop Jay Sandhu
... View more
02-27-2018
01:43 PM
|
2
|
0
|
2975
|
|
POST
|
There is a difference between a restricted element and a non-reachable element. The AddLocations only looks at what is currently restricted. It is not checking for connectivity. So if the inner square for pedestrian roads has a pedestrian restriction and that is currently on, then the location will not snap to it. But if it is simply a disconnected portion then it will locate on to it. The subsequent solve will tell you that the stop location cannot be reached. Jay Sandhu
... View more
02-27-2018
01:19 PM
|
1
|
2
|
2975
|
|
POST
|
Are you using ArcMap or ArcGIS Pro? If you are using ArcMap, then, are you setting the route layer properties such as restrictions after you load the locations? That is, you need to make sure all the route layer properties are set before you load the locations. This ensures that the correct restricted network elements are excluded. Also, the picture you posted does not explain what is the problem. I see a red point but not sure what it means. Jay Sandhu
... View more
02-27-2018
10:41 AM
|
1
|
4
|
2975
|
|
POST
|
Can you show the entire add locations line that you are passing in? Perhaps you are using Network Location fields in the Field Mappings to map existing network locations instead of using Geometry. Jay Sandhu
... View more
02-27-2018
07:53 AM
|
0
|
6
|
2975
|
| 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
|