|
POST
|
Yes, OD Cost Matrix reports network distance even though the geometry of the lines is straight. Just like Closest Facility, OD Cost Matrix does not have the ability to calculate the network distance between a specific origin and specific destination. It will report the distance from each origin to all destinations or the closest N destinations. If you want to calculate the distance from a specific origin to a specific destination, the Route method suggested above is the cleanest way to do it. Otherwise, you can load each origin one by one into OD or CF along with the specific destination it's supposed to go to, but that seems time consuming...
... View more
09-24-2018
08:20 AM
|
0
|
3
|
2713
|
|
POST
|
I'm not sure if this answers the first half of your question, but for the second: You can accomplish this using the Route solver. What you need to do is to us the RouteName field in the Stops sublayer. When you have multiple RouteName values in the table, each one will be solved as an individual route. So, if Case 1 when to Facility A, load in Case 1 and Facility A as stops, and give them both the same RouteName (like 1-A). If Case 2 also went to Facility A, you would have to load in another copy of Facility A with a different RouteName (like 2-A).
... View more
09-21-2018
08:16 AM
|
2
|
3
|
2713
|
|
POST
|
Oh, I see. Unfortunately, no, there's not a way to do that right now. I have it on my long-term to-do list, though. If you use GitHub, feel free to up-vote the issue. The challenge in implementing something like this is that GTFS's route shapes are not directly correlated with the location of the stops. I could do something like what I do in Generate GTFS Shapes for the case where the GTFS data does not already have any shapes, but this would not satisfy the majority of users who already have a GTFS shapes.txt file.
... View more
09-17-2018
11:50 AM
|
1
|
0
|
4208
|
|
POST
|
This tool generates full routes representing the path driven by buses throughout the entire route, from the first stop to the last stop. It does not generate individual lines connecting each stop. What is your desired output, or what is your goal? Maybe I can help you find another way to create this.
... View more
09-14-2018
05:55 PM
|
0
|
2
|
4208
|
|
POST
|
So did the ArcGIS Online version solve your problem, or do you still need help?
... View more
09-14-2018
01:30 PM
|
0
|
4
|
4208
|
|
POST
|
It sounds like a problem with your network dataset. Have you tested the network dataset in the map just for normal routing? Try doing that before you plug it into the Generate GTFS Shapes tool. This tutorial can help you if you're unfamiliar with Network Analyst: Exercise 3: Finding the best route using a network dataset—Help | ArcGIS Desktop There are many factors that can cause network datasets to misbehave, but the most common are: - Bad network connectivity because the streets are physically disconnected (small gaps and dangles) - Bad connectivity because the connectivity policy isn't set up correctly for the characteristics of the data (the streets have vertices at intersections, but the connectivity policy is set to End Point; the connectivity policy is set to Any Vertex, but the streets don't even have vertices at intersections) - The impedance attribute isn't calculating travel time or distance correctly.
... View more
09-14-2018
08:47 AM
|
0
|
0
|
4208
|
|
POST
|
What you want is a Closest Facility analysis. This tutorial might also be helpful.
... View more
09-12-2018
02:08 PM
|
2
|
0
|
5514
|
|
POST
|
What machine will you be using to host the service? You need to install Add GTFS to a Network Dataset on that machine and then follow the additional instructions to "register" TransitEvaluator.dll with ArcGIS Server. ArcGIS Server is usually installed in C:\Program Files. If the server machine doesn't have ArcMap installed, you won't be able to use the installer to install Add GTFS to a Network Dataset. In that case, I think you can just copy the folder holding TransitEvaluator.dll to the server machine: C:\Program Files (x86)\ArcGIS\Desktop10.[version]\ArcToolbox\Toolboxes\EvaluatorFiles.
... View more
09-11-2018
12:37 PM
|
0
|
0
|
1041
|
|
POST
|
Hello Massimo. You have to do a few special things with Server in order to work with a GTFS-enabled network dataset. Please see this section of the user's guide.
... View more
09-11-2018
11:15 AM
|
0
|
2
|
1041
|
|
POST
|
Hello Alex. Several others have complained of this problem. It happens when you do not have a "wheelchair_boarding" column in your input stops.txt file. However, the tool should work in this situation, as wheelchair_boarding is not required. I thought I had fixed this problem, and when I just tested it here on my own machine, I did not get an error. Please download and install the latest version of the tool: http://arcg.is/10jXez See if this resolves the issue. If it does not, can you share your GTFS dataset with me so I can see what causes the error and fix it? (If you're in a hurry, the fastest way for you to get it working is to just add a column to stops.txt called wheelchair_boarding. You don't need to give it any values.)
... View more
09-10-2018
08:27 AM
|
0
|
2
|
2857
|
|
POST
|
You cannot yet create a new network dataset as of ArcGIS Pro 2.2. We are working toward adding this capability, but it is not yet complete. You still have to use ArcMap to create network datasets unless you're using the Create Network Dataset From Template geoprocessing tool.
... View more
08-22-2018
08:03 AM
|
1
|
11
|
5608
|
|
POST
|
Did you resolve this problem? If not, could you copy and paste the full message text so I can take a look (not just the error message, but everything that appears in the geoprocessing window)?
... View more
08-14-2018
11:45 AM
|
0
|
0
|
957
|
|
POST
|
The easiest thing might be to do this: In your original depot shapefile, add fields for RouteName1 and RouteName2, then use the Field Calculator to make them be 1011 and 1012, etc. In your python script, do Add Locations once to add the depots the first time, and use field mapping to map RouteName1 to the RouteName Stops property. Then, do Add Locations again to add the depots a second time, this time mapping RouteName2 to the RouteName Stops property.
... View more
07-25-2018
09:30 AM
|
0
|
0
|
1732
|
|
POST
|
Hello sotokan80. The problem here actually has nothing to do with field mapping. Your field mapping looks fine (though you actually only need one field mapping object that you can use for both input tables). When you see a -1 for SourceOID and the icon with a ? on it, this means that the stop is unlocated. Note that the Status field shows a status of 1, which means "Not located". (Status 0 means "OK".) For some reason, when you ran Add Locations, it could not determine the network location of that particular stop. The stop is probably far away from the network or something like that. Perhaps the lat/long of the original point are incorrect, or perhaps the search distance you've used as an option in Add Locations is too small.
... View more
07-25-2018
08:07 AM
|
0
|
2
|
1732
|
|
POST
|
Hello Jeremy. What you're doing here is creating a service area layer object, adding locations to it, and solving it. However, you are not doing anything in your script to write out the output anywhere. You should either save the Service Area layer out as an lyrx file to disk or extract just the polygons and use Copy Features or Feature Class To Feature Class to save it to disk. Check out the last two code samples on this page.
... View more
07-16-2018
01:07 PM
|
1
|
0
|
940
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-12-2026 01:53 PM | |
| 1 | 04-21-2026 08:39 AM | |
| 1 | 04-15-2026 02:24 PM | |
| 1 | 02-03-2026 11:41 AM | |
| 1 | 03-16-2026 08:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-12-2026
01:44 PM
|