|
POST
|
Hello. I am assuming you're using ArcGIS Pro and have created your network dataset from GTFS data following our tutorial. What you see is the correct behavior. The LineVariantElements generated from the GTFS To Network Dataset Transit Sources tool are simply straight-line connectors between adjacent stops. They do not follow the streets that the actual buses travel on. Here is the key info from the tool's documentation: The LineVariantElements features are not intended to represent the actual geographic paths taken by buses, trains, or other public transit vehicles but are instead representative of logical connections in the transit system. LineVariantElements features are not meant to be used for visualization. The Public Transit evaluator in the network dataset will use the public transit schedules to determine the travel time required to traverse a LineVariantElements feature, so its shape and length are irrelevant. However, you can optionally edit the shapes of the LineVariantElements features manually, but do not split or merge the features. I think it's going to be tough for you to make this work with your flooding polygons, but it kind of depends on what you're trying to do. If you just want to see which transit routes might be affected by flooding in certain areas, it might work better for you to create a simple feature class of your GTFS shapes.txt file using the GTFS Shapes To Features tool. That feature class will show the paths traveled by the vehicles, at least according to the data the transit agency has provided (which, in my experience, depending on the agency, can sometimes have problems). You could overlay these with your flooding polygons. That approach doesn't do anything with routing, through. But here's the problem if you tried to make your flood polygons work with a routable network, even assuming the transit lines were in the right place geographically. Suppose you use your flood polygons as a barrier, so certain segments of the route and certain stops are inaccessible. The solver will be smart enough to prevent a traveler traveling on transit from traveling through that section. However, the transit lines further down the line, after the flooded area, don't know that the previous parts of the line are blocked or diverted or delayed, so they continue running on the same schedule. A passenger will still be allowed to board the bus and travel onwards using the same schedule, even though that's unrealistic. If you post more details about what analysis question you're trying to solve, maybe we can brainstorm a good solution.
... View more
10-29-2021
11:19 AM
|
1
|
2
|
2829
|
|
POST
|
This shouldn't be a problem. As long as each input GTFS dataset is valid, the tool will just process each one separately and do the right thing. You may end up with multiple stop features in the same location, but this will not cause any errors in the dataset or in routing.
... View more
10-28-2021
07:53 AM
|
1
|
0
|
1317
|
|
POST
|
Hi Carsten. The Ready-To-Use tools will recognize specific fields in the input data and transfer that information to the output. If your input Origins and Destinations have a text field called Name, the values in that field will be included in the output Lines table's OriginName and DestinationName fields. So if you include your specific codes in a field called Name in the inputs, they will get transferred to the outputs the way you want. Does this answer your question?
... View more
10-19-2021
07:56 AM
|
0
|
0
|
1856
|
|
POST
|
Sorry you're having these problems. I was hoping the log files would be more enlightening, but they don't tell us much at all. If you just want to move along and get your work done, which is completely understandable, you can download the older, ArcMap-compatible version of this toolbox here: https://arcg.is/1u8WKS The tools should work in Pro, and they don't do the multiprocessing thing at all. In fact, they run in a completely different way, so be sure to look at the user's guide to see how to set up your inputs. If you're willing to keep experimenting and have the time for it, you could add a couple of lines of code to write more info to the log files. Put these at line 426 of parallel_odcm.py. Be sure to close and reopen Pro (otherwise it won't pick up the changes) before re-running the tool. Then check the log files again. This just prints the input parameters to the logs and might tell us something more. self.logger.debug(origins_where_clause)
self.logger.debug(self.origins)
self.logger.debug(self.input_origins_layer)
... View more
10-17-2021
09:31 AM
|
0
|
8
|
8978
|
|
POST
|
Okay, thank you. That's consistent with the behavior we saw when testing. This should be resolved in the 2.9 release.
... View more
10-13-2021
09:54 AM
|
1
|
0
|
5080
|
|
POST
|
By the way, while looking into this issue, I identified and fixed a couple of other, unrelated minor issues. An updated version of the toolbox is available at https://www.arcgis.com/home/item.html?id=23cc1b720eb0418db4d0e61955b8fe43. Among them was fixing the Travel Mode parameter so it auto-populates after you select the network. I had inadvertently messed that up with my most recent update a few weeks ago.
... View more
10-12-2021
09:17 AM
|
0
|
0
|
9033
|
|
POST
|
Oh, okay. That's fine. Just means my initial idea of where to look for the problem isn't actually the problem. 🙂 I am not sure what's going on. I cannot reproduce the problem. Here's my next suggestion for getting to the bottom of this: When you run the tool, if you look at the messages, you'll see one that looks like "Intermediate outputs will be written to [blah]." In there will be a bunch of folders with names using strings of letters and numbers (just auto-generated unique names), and in each of those will be a log file. These are the logs for the individual parallel processes. Please take a look and see if you can find the log files and post the files or their contents. We should be able to get more information about that MakeFeatureLayer failure from that. It looks like when you ran the tool, it finished one process successfully and then failed on the second one for some reason. That's kind of weird. Anyway, since it failed early in the parallel processing, there should only be a few of those folders and log files to look through to find the right one. I'm guessing no more than 4. You might need to re-run the tool again to generate some fresh log files. I'm not sure if the old ones from your earlier failed run might have been automatically cleaned up with Pro's garbage collection at some point.
... View more
10-12-2021
09:11 AM
|
0
|
1
|
9034
|
|
POST
|
Hi Eli. I think you're right that the issue you're having with Prepare Time Lapse Polygons described here is probably the same underlying problem as this issue. I'll try to answer them both here. My guess is that your machine is having trouble spinning up the parallel processes for some reason. I'm not sure why, but my first question for you is how you're calling this from python. Are you using a standalone python script? The python window in Pro? I suspect this will get us to the heart of the matter.
... View more
10-11-2021
08:04 AM
|
0
|
0
|
9041
|
|
POST
|
I can see how this would be confusing. The FacilityType field uses an integer domain to represent the various types of facilities. The correct documentation link for ArcGIS Pro is here: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/location-allocation-analysis-layer.htm#GUID-7445C636-31BB-42FC-BB28-5C450E1A55FA
... View more
10-08-2021
02:12 PM
|
0
|
0
|
1103
|
|
POST
|
Hello, everyone. This issue proved to be a bit weird - difficult to reliably reproduce, and some of us could and some of us couldn't. However, we believe we have fixed it. The fix will be in the upcoming ArcGIS Pro 2.9 release. For anyone reading this in the future: If you see this error in Pro 2.9 or higher, please leave a comment here with details about your workflow so we can try to figure out what we missed. Thanks.
... View more
10-04-2021
08:49 AM
|
2
|
4
|
13245
|
|
POST
|
The addFields() method was added to the arcpy.nax solver objects in ArcGIS Pro 2.7, so that's why you're seeing an error in 2.6.3. The best solution is for you to update your software to the latest (Pro 2.8.2), or at least 2.7, if you're able. The alternative solution is to fall back to the older, slower ArcMap version of these tools: https://arcg.is/1u8WKS
... View more
10-04-2021
08:01 AM
|
1
|
1
|
1833
|
|
POST
|
Question for those of you who have gotten this error: Do you happen to remember if you deleted the network dataset and then recreated it before you saw this problem?
... View more
09-30-2021
02:42 PM
|
0
|
2
|
7043
|
|
POST
|
I was able to reproduce the problem reported here. We are investigating.
... View more
09-29-2021
08:11 AM
|
1
|
0
|
8201
|
|
POST
|
Retrieving an NA layer's sublayer is a common workflow in standalone python, and it is admittedly not obvious how to do it. First, I will assume you're using ArcMap or 10.x Server since you're working with .lyr files. So, my response here is appropriate for ArcMap and not Pro. The first problem is that the SelectData utility is a Model Builder utility only and should not be called from standalone python. It just doesn't work. I think something like this will work: layer_object = arcpy.mapping.Layer(FireStationCoverage_lyr) polygons_sublayer = arcpy.mapping.ListLayers(layer_object, "Polygons")[0] arcpy.management.CopyFeatures(polygons_sublayer, out_featureclass) Note that if you switch to Pro, you can use the GetNASublayer function for a much less confusing experience. If you are doing a full Network Analyst workflow, there are actually much better and faster ways to do it in Pro using the arcpy.nax module, which eliminates the need for NA layers entirely.
... View more
09-16-2021
11:21 AM
|
2
|
1
|
1835
|
|
POST
|
The problem with using Service Areas for an application like this is that the Service Area polygon geometry can change dramatically depending on the settings you use, like polygon trim, whether you use standard or high precision polygons, and even which nearby streets are and aren't reachable. The polygon generation algorithms are often more art than science. It is a visualization tool. If you want a precise answer, use OD Cost Matrix.
... View more
09-02-2021
01:23 PM
|
0
|
0
|
2578
|
| 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
|