|
POST
|
The clue here is in the error message: GTFS table stops contains at least one row with the wrong number of fields. Fields: [u'stop_id', u'stop_code', u'stop_name', u'stop_desc', u'stop_lat', u'stop_lon', u'zone_id', u'stop_url', u'location_type', u'parent_station', u'stop_timezone', u'wheelchair_boarding']; Row: (u'SpainRenfeLongDistance:71801', u'', u'Barcelona-Sants', u'', u'41.379520', u'2.140624', u'SpainRenfeLongDistance:', u'', u'', u'', u'Europe/Madrid') I'm guessing you added the wheelchair_boarding field header but didn't add an additional "," to each row in the table. So, the header row has one more field than the rows after that. I can see how my previous instructions were unclear on that point. Each row must have the same length (the length of the header row), so since you added a field to the headers, you need to add a blank space to each of the data rows. You don't need to add a value for wheelchair_boarding, but there must be a space for it.
... View more
02-19-2019
08:56 AM
|
0
|
0
|
2858
|
|
POST
|
Hello Ricardo. A lot of people have asked for this, but I haven't been able to think of an easy way to do this. The GTFS shapes.txt file doesn't have a very strong relationship with the GTFS files that represent the schedules or with the stops.txt file for that matter. The challenge lies in clipping apart the line features created from shapes.txt and matching them to the correct line stop-to-stop line segments. Maybe if you have the feature class of shapes created from GTFS Shapes To Features and also the line output from BetterBusBuffers, you could use some of the Conflation Tools or editing tools to try to match the BetterBusBuffers line shapes to the GTFS shapes. But...this doesn't seem easy. I'm sorry I don't have a simple solution for you. However, if you come up with something, please post your solution here so others can benefit from it! (Here is my GitHub issue to add this functionality to BetterBusBuffers at some point. Note that it has 12 up-votes: Enhance Count Trips on Lines to use actual shapes · Issue #93 · Esri/public-transit-tools · GitHub )
... View more
02-14-2019
09:10 AM
|
2
|
1
|
2100
|
|
POST
|
Hi Alex. The problem turned out to be a bug in the script where it was unnecessarily trying to convert the stop_id to a string, and for your particular data, it was throwing that Unicode decode error because it was trying to convert the string to ASCII. I have fixed the problem. You can download a fresh version of the toolbox here: http://arcg.is/0yr9fr Or, you can just download this one file and replace your local copy with the downloaded version: public-transit-tools/BBB_CountTripsAtStops.py at master · Esri/public-transit-tools · GitHub In case anyone is reading this thread in the future, Alex's problem was unrelated to the original question posted here, even though they had similar error messages.
... View more
02-11-2019
09:57 AM
|
2
|
1
|
1072
|
|
POST
|
I'm glad that worked. I don't understand why you got the error either.
... View more
02-11-2019
08:10 AM
|
0
|
0
|
2496
|
|
POST
|
I downloaded the data from your link (Fahrplandaten Februar 2019). I was not able to even run it through the Preprocess GTFS tool because I get the following error: stop_id "de:05112:16284:0:3" in E:\GTFS\Dusseldorf\stops.txt contains an invalid non-numerical value for the stop_lat field: "". Please double-check all lat/lon values in your stops.txt file. How did you get as far as you did? Did you modify the GTFS, and if so, can you post your modified version?
... View more
02-08-2019
03:38 PM
|
0
|
3
|
3832
|
|
POST
|
The message is saying that the contents of the XML file is invalid for some reason. Did you edit it somehow after downloading it? You can try downloading just that file again from here: public-transit-tools/TransitNetworkTemplate.xml at master · Esri/public-transit-tools · GitHub
... View more
02-08-2019
12:21 PM
|
0
|
2
|
2496
|
|
POST
|
Okay, several things going on here... First, you should NOT expect the transit lines produced in Add GTFS to a Network Dataset to represent that actual streets or other paths taken by the transit lines in the system. They are simply straight lines connecting stops and are meant to represent the logical connections between stops in the transit network, NOT for accurate visualization of the transit lines. Display Route Shapes, on the other hand, specifically uses the GTFS shapes.txt file and turns those into features for visualization on the map. Because GTFS has somewhat of a disconnection between shapes.txt and the files that represent the schedules, it's much much much easier for Add GTFS to a Network Dataset to just use straight lines. Next, after you corrected those problems with your network dataset's settings, did you run Build Network and re-run Get Network EIDs? Without doing those things, the changes you made aren't fully baked into the network. Finally, the non-traversable error to be looks like one of two things: 1) Your network has some kind of restriction attribute set up, and some roads are actually restricted (non-traversable). Perhaps the restriction is configured incorrectly. 2) You forgot to set up the layer's network location settings according to this section of the user's guide: public-transit-tools/UsersGuide.md at master · Esri/public-transit-tools · GitHub . As a result, sometimes the input points are being located on transit lines, and bad things are happening.
... View more
02-07-2019
08:58 AM
|
0
|
0
|
2727
|
|
POST
|
Okay, so the actual problem is the license error from the Get Network EIDs tool. The other error is expected since you didn't finish Get Network EIDs successfully. The Get Network EIDs tool is a python script tool which in turn launches an ArcObjects executable which queries the network dataset and logs some IDs in a database. The ArcObjects executable is necessary because the network dataset query is available in ArcObjects but not in python. The problem you're seeing is when that ArcObjects executable gets run. For some reason, the executable is not able to check out the Network Analyst license even though you have it. Other people have reported a similar error message to me, but I haven't successfully determined the cause for any of them, and there's very little that I can do as a developer. Esri Support can't help you with specific questions about the Add GTFS to a Network Dataset toolbox. However, for the other users with this problem, we were able to reproduce it with a simple ArcObjects executable that does nothing except check out an ArcMap, Engine, or Server license (depending on the product installed) and then a Network Analyst license. It will print out something to the console indicating whether it succeeded or failed. Since that is a generic problem, Esri Support (or Support at the distributor for your country) should be able to help you figure it out. Here's what to do: - Download and extract this simple ArcObjects executable and put it somewhere on your machine (preferably not on the Desktop): SimpleNALicenseCheckout.zip - Box - Open a command window - Run the executable. You will probably see it fail with the same error as the Get Network EIDs tool. - Call Esri Support, show them this GeoNet thread and the simple executable, and see if they can help.
... View more
02-06-2019
01:15 PM
|
0
|
0
|
3968
|
|
POST
|
Hello Terry. If your results seem to be never using the transit lines, please review the probably causes and solutions listed here: public-transit-tools/TroubleshootingGuide.md at master · Esri/public-transit-tools · GitHub If that doesn't help, could you please clarify this comment? it gives me a non-traversable error What is the error message, and when/where did you see it? (Example: when you clicked Solve) Regarding your ultimate goal: Yes, this should be doable. It's probably best if you have two separate networks, one for the older data and one for the newer data.
... View more
02-06-2019
11:35 AM
|
0
|
2
|
2727
|
|
POST
|
Could you clarify when you get this error? Your subject line says it's when you run Get Network EIDs. However, your screenshot shows the caching dialog, which appears only when configuring your network analysis layer or at Solve time.
... View more
02-06-2019
11:31 AM
|
0
|
0
|
3968
|
|
POST
|
Try turning on your Network Analyst extension license. In ArcMap: Customize menu -> Extensions -> check on Network Analyst
... View more
02-06-2019
10:10 AM
|
0
|
0
|
3968
|
|
POST
|
There's no easy way to automatically apply a turn restriction for a situation like that. I wish there was! You might be able to find a way to generate turn features programmatically with a python script, but it doesn't seem particularly easy.
... View more
02-01-2019
08:10 AM
|
0
|
0
|
1517
|
|
POST
|
If you've used the Add GTFS to a Network Dataset toolbox to create your network (unclear from your question), then there is no way to limit the number of transfers, unfortunately. If, however, you've created your network dataset in some other way, then, depending on how you've modeled those lines, there might be. If each bus line/route is a separate line feature, you could possible make use of turn features to add a time delay when switching from one line to another. This won't actually limit the number of transfers possible, but by incurring a time penalty, it will make routes with transfers less efficient.
... View more
01-31-2019
08:04 AM
|
0
|
2
|
1517
|
|
POST
|
Oh yeah, duh, sorry. Joe is correct. You just have the parameters in the reverse order of what they should be.
... View more
01-24-2019
12:50 PM
|
2
|
0
|
3276
|
|
POST
|
I don't see anything obviously wrong with your code. What happens if you try running the tool manually in Pro? Do you get the same errors? If so, the problem is not within your script but something to do with your input data.
... View more
01-24-2019
12:27 PM
|
0
|
0
|
3276
|
| 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
|