|
POST
|
No. The ArcGIS Online routing services (including Drive Time Analysis) can only use the data included in the service. You cannot use your own data. You will need to get the Network Analyst license to use your own data locally in Pro/ArcMap or to publish your own routing service with ArcGIS Enterprise.
... View more
06-22-2020
08:03 AM
|
0
|
0
|
1353
|
|
POST
|
This should be all you need. You can retrieve the OD layer object from the Solve tool (or from the MakeODCostMatrixAnalysisLayer tool or AddLoations - all of them output the layer object). You use listLayers with a search keyword to retrieve the output Lines sublayer, and then use that in copy features. layer_object = arcpy.na.Solve(outNALayer, "SKIP", "TERMINATE", "").getOutput(0)
sublayer_names = arcpy.na.GetNAClassNames(layer_object)
lines_sublayer = layer_object.listLayers(sublayer_names["ODLines"])[0]
arcpy.CopyFeatures_management(lines_sublayer, outMatrix) The second-to-last code sample here demonstrates this. Please note that starting in ArcGIS Pro 2.4, we have provided a new python interface for the Network Analyst solvers. The syntax is much simpler for setting up and solving an analysis and working with the results, and you don't need to work with layers. Small solves are generally a lot faster as well. Here is a presentation from DevSummit 2020 that describes how to use the new python classes and methods: https://youtu.be/TZ5aYTcDvME
... View more
06-11-2020
07:53 AM
|
1
|
1
|
1872
|
|
POST
|
If you wish to study travel by public transit (meaning, the analysis models travelers actually riding the transit, not simply determining whether there is a close-by bus stop), then you need to incorporate the public transit schedule data into the network dataset you will use for the analysis. This documentation shows how you can do that in ArcGIS Pro: Network analysis using public transit data—ArcGIS Pro | Documentation You will need to obtain the GTFS public transit data from the transit authorities you want to include and build a network dataset that includes this as well as the street data. You can use the Streetmap Premium Custom Roads product to combine high quality Streetmap Premium data with the GTFS public transit data. Unfortunately, there is no nationwide public transit data available, nor is there a single location where you can obtain GTFS datasets for all agencies. Not every agency provides GTFS data, and not all agency that creates GTFS data will make it publicly available for download. Each agency has different data licensing rules, etc. It makes things complicated. Additionally, I don't think you'd want to include all the GTFS datasets for the nation into one network dataset anyway because you could start to run into memory issues. The schedule data has to be cached into memory when solving. A better solution would be to create separate network datasets for individual cities or metropolitan areas and broker the analysis so that, based on the location of the inputs, it chooses the correct network dataset for that analysis. Sorry I don't have a simpler answer for you.
... View more
06-10-2020
12:39 PM
|
0
|
0
|
1304
|
|
POST
|
Okay, then you probably need to check the configuration of your cost attributes and make sure they are calculating the distance correctly. - Locate the network dataset in the Catalog pane - Right-click it and open Properties - Go to the Travel Attributes tab and the Costs sub-tab - Find the cost attribute you've been using (the one your travel mode is using) and click on it. - On the bottom half of the page, check the Evaluators section and make sure the calculations being used to calculate the distance are sensible.
... View more
06-09-2020
08:45 AM
|
2
|
0
|
2467
|
|
POST
|
Assuming your cost attribute for distance is configured correctly, then most likely the facilities are being located on the network somewhere a little ways away from their geographic location. When you run a network analysis, the input points have to "locate" on the network, meaning that they have to basically snap to the closest non-restricted network location. That location is used as the start/end point for the network analysis. Say the top point in your screenshot locates on a road to the north of its geographic position. Then it's to be expected that the Service Area extends further north than you expected. You can check the network location fields for each facility (SourceID, SourceOID, PosAlong, SideOfEdge), or if you re-load them with Add Locations, you can check on the Snap option to snap them to their actual network location.
... View more
06-09-2020
08:26 AM
|
0
|
2
|
2467
|
|
POST
|
It still smells like a connectivity issue to me. Here is some conceptual documentation explaining the various types of connectivity in case you want to dig into it: Understanding connectivity—Help | Documentation If you are able to share your data (both network dataset and Route layer), I could take a look.
... View more
05-26-2020
11:09 AM
|
0
|
0
|
7771
|
|
POST
|
My guess is that something is disconnected in your network. Try using the Network Identify tool on the Network Analyst toolbar. With this tool activated, you can click on a road segment, and it will show you which other network edges and junctions it's connected to. You can use this to diagnose connectivity problems. The tool will also tell you the value of various restrictions and impedance attributes, so you should check those and make sure they are correct as well. If you make any edits to your network dataset, don't forget to run Build Network before running an analysis
... View more
05-26-2020
10:02 AM
|
0
|
2
|
7771
|
|
POST
|
This error message indicates to me that you are using a service, probably the ArcGIS Online service based on your later comments, to solve your network analysis problem. The ArcGIS Online services do indeed have limits in place for the number of inputs. There is no way to exceed these limits while using this service. If using a large number of barriers is essential to your workflow, you will need to use your own network dataset instead of the ArcGIS Online service. You could create your own network dataset if you have street centerlines for your area of interest. Here is a a tutorial showing you how to do that: Create a network dataset—ArcGIS Pro | Documentation However, creating a high-quality network dataset is a difficult procedure, particularly if you aren't starting with high-quality data. A better option might be purchasing Streetmap Premium for your area of interest. This includes a ready-to-use network dataset that contains the same data used by the ArcGIS Online Services, but since you have the data yourself, there are no service limits.
... View more
05-26-2020
08:01 AM
|
0
|
0
|
3291
|
|
POST
|
I am on the development team. However, in order to decide whether and how to proceed in providing such functionality, it would help to understand your needs better. If you have time, could you answer the following questions? Do you work for a transit agency? What is your goal with this application? Are you trying to create a web app to help passengers plan their transit journeys? Will passengers access this app directly, or will it be used only internally by your dispatchers? Where will users access this app (website, mobile app, etc.)? Assuming you work for a transit agency, why does your agency need to provide its own routing app instead of relying on existing 3rd party apps?
... View more
05-22-2020
03:33 PM
|
1
|
1
|
6372
|
|
POST
|
If you have created your own network dataset with GTFS data in ArcGIS Pro using the procedure outlined in this tutorial, then you can publish a routing service using this network dataset and access it from a web app. However, currently our Route solver is not really configured for passenger-facing apps. If you are trying to design an app to tell transit passengers how to get from one place to another, there are several limitations that will make this difficult for you: We do not currently create public transit directions. If you request directions from your Route result, it will simply say "Take public transit". It will not say "Take Bus A arriving at <time>, ride 6 stops, and get off the bus at 1st and Main." or "Transfer to the Blue Line.". You cannot limit the number of transfers allowed. You cannot cap the walk time or distance. If the Route solver determines that the fastest way from point A to point B is to walk for an hour, this is the result you'll get, even though most transit passengers will not see this as a viable solution. You are not the only person who has expressed interest in this type of functionality, though. We would be interested in hearing more about your needs. This information will help us formulate and prioritize future development plans. If you would like to include some further details about what you're trying to do, we would be interested in hearing them. Or, feel free to send a private message or reach out to your Esri representative.
... View more
05-22-2020
03:05 PM
|
2
|
5
|
6371
|
|
POST
|
Oops, sorry, I misinterpreted your first screenshot. I understand now, and it seems like you have the right idea. In your original post, you mentioned that you updated the network dataset properties and rebuilt the network dataset. If I understand correctly, you did this: - Opened the network dataset properties - When to the Travel Attributes -> Costs tab - Selected your PublicTransitTime cost attribute - Opened up the Parameters section - Updated the default value of the Exclude Lines parameter to be "25 26" - Rebuilt the network dataset Did I get that right? What you did here is to update the default value of the parameter. The parameter belongs to the cost attribute, which in turn is used by a travel mode. However, the travel mode need not use the default value of the parameter. It can be configured to use a different value. For example, this is often used with, say, height restrictions. The restriction attribute can have a parameter associated with vehicle height with is set to some default, but if you make a travel mode for modeling tall trucks, you would set the parameter value to something bigger just for that travel mode. To further complicate matters, a network analysis layer can have its own custom travel mode that is different from any of the travel modes saved on the network. So, you could use the default travel mode on the network but then modify it in the layer properties to change the parameter values. I suggest you open the travel mode properties of the Route layer you're currently solving and make sure the updates to the parameter values are actually being used by the layer itself. My guess is that the changes you made to the default values are not being used because you created the Route layer before updating the defaults, so it's using the values present in the travel mode before the changes. I could be wrong, but this is what I would check next. All about parameters: Use parameters with network attributes—ArcGIS Pro | Documentation All about travel modes, including how to update parameters: Travel modes—ArcGIS Pro | Documentation
... View more
05-19-2020
09:35 AM
|
2
|
1
|
2942
|
|
POST
|
The 25 and 26 in your screenshot are LineVariantElements, not Lines. The Exclude Lines parameter is for entire Lines, which represent an entire transit route or line (like "the Blue Line" or "Bus Route 26"). A LineVariantElement is an individual segment between two stops along a route. Lines: Network Analyst public transit data model—ArcGIS Pro | Documentation LineVariantElements: Network Analyst public transit data model—ArcGIS Pro | Documentation You cannot exclude individual LineVariantElements using a parameter. However, for an individual analysis, you can use Barriers to prevent travel along them. Barriers—ArcGIS Pro | Documentation
... View more
05-19-2020
08:09 AM
|
0
|
3
|
2942
|
|
POST
|
Hello Andres. You have understood the From-To and To-From thing correctly. From-To refers to the direction of digitization from the start of the line to the end, and To-From is the reverse. Evaluators treat negative costs as restrictions. If the cost of an edge is negative, travel on that edge will be prohibited. Consequently, you don't want to use negative costs to represent reverse slope. You probably need to treat the slope as a scaling factor. For example, pick a normal walking speed for flat ground and then scale it up or down based on the slope of the road. You could pre-calculate this in a single field in your street features, or you could use a Function evaluator to calculate it within the network. For example, you could have one cost attribute that simply calculates unscaled walk time based on the length of the road and assumed walking speed. You could have a Descriptor attribute that calculates the scale factor for the road's slope. You could have another cost attribute, like Scaled Walking Time, that uses a function of your unscaled walking time and the scale factor.
... View more
05-14-2020
07:58 AM
|
0
|
0
|
1899
|
|
POST
|
When you set up your network dataset, you will need to configure a cost attribute that calculates the pedestrian travel time. Here is some documentation about cost attributes in general: Cost attributes—ArcGIS Pro | Documentation When you configure a cost attribute, you have to set up the way it calculates that cost using "evaluators". When you run a network analysis, the evaluator performs some sort of calculation for each network edge and returns the cost to traverse that edge. You can configure these evaluators separately for each direction along each network edge. So, you can have a different calculation going in the direction of digitization and against the direction of digitization. There are several types of evaluators you can choose from, depending on your needs: Types of evaluators used by a network—ArcGIS Pro | Documentation Hopefully that's enough to get you started!
... View more
05-12-2020
04:54 PM
|
1
|
2
|
1899
|
|
POST
|
This sounds sort of hard to diagnose by GeoNet, but it definitely sounds like a problem we ought to look into. I suggest you call Support. They can work with you to either resolve the issue, or they can but it together into a bug report so we can fix it. Out of curiosity, are you accessing your SDE network dataset through ArcMap or ArcGIS Pro?
... View more
05-11-2020
09:05 AM
|
0
|
1
|
1627
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 06-12-2026 01:53 PM | |
| 1 | 04-21-2026 08:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|