POST
|
Hi! I use the BetterBusBuffers tool and ArcGIS v.10.3 to analyze the Norwegian GTFS dataset (here). However, from the first steps and when I pre-process GTFS, I deal with several errors, such as invalid arrival_times, etc. Any ideas on how I can resolve these issues? Does the Interpolate blank stop times tool clean this kind of invalid arrival time?
... View more
09-08-2020
09:13 AM
|
0
|
2
|
760
|
POST
|
Dear Melinda, I added a column wheelchair_boarding in stops.txt (as you suggested), but the tool didn't work. So, I get the following error: Executing: GenerateTransitLinesAndStops C:\Users\Alex\Desktop\HSR_D4i\Spain_RenfeLongDistance C:\Users\Alex\Desktop\HSR_D4i\SpainRENFE.gdb\LinesStopsRENFE Start Time: Mon Feb 18 23:25:52 2019 Running script GenerateTransitLinesAndStops... SQLizing the GTFS data... (This will take a few minutes for large datasets.) 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') Failed to generate transit lines and stops. Failed script GenerateTransitLinesAndStops... Traceback (most recent call last): File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\scripts\GenerateStopPairs.py", line 109, in <module> GTFSErrors = sqlize_csv.handle_agency(gtfs_dir) File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\sqlize_csv.py", line 426, in handle_agency handle_file(fname2, label) File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\sqlize_csv.py", line 387, in handle_file , rows) File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\sqlize_csv.py", line 180, in drop_fields raise BBB_SharedFunctions.CustomError CustomError Failed to execute (GenerateTransitLinesAndStops). Failed at Mon Feb 18 23:25:59 2019 (Elapsed Time: 7.14 seconds) You can find the GTFS data I used here Do you think that the data is problematic or there is a bug in the tool?
... View more
02-18-2019
01:38 PM
|
0
|
1
|
1012
|
POST
|
Thank you, Melinda, for your support and your work! Now the tool works fine!
... View more
02-11-2019
03:24 PM
|
0
|
0
|
369
|
POST
|
Thank you, Melinda, for your quick response! Due to this error, I deleted all the records with null lat/lon values in the stops file. So, I'm sharing the modified stops.txt here.
... View more
02-08-2019
04:11 PM
|
0
|
2
|
369
|
POST
|
Hi! I'm also dealing with a similar error when I run the Count Trips at Stops tool. I'm running ArcGIS 10.3.1 for desktop, and the Unicode error I get is the following: Executing: CountTripsAtStops C:\Users\alex_\Desktop\test\test1.gdb\testdusseldorf C:\Users\alex_\Desktop\test\gtfsdusseldorf022019c.sql 20190205 06:00 20:00 Departures Start Time: Fri Feb 08 23:57:41 2019 Running script CountTripsAtStops... Creating feature class of GTFS stops... Calculating the number of transit trips available during the time window... Writing output data... Error writing to output. Failed to count trips at stops. Traceback (most recent call last): File "<string>", line 163, in execute File "C:\Users\alex_\Desktop\D4i_Paper_Metro\BetterBusBuffers\BetterBusBuffers_0.13.0.2\BBB_CountTripsAtStops.py", line 98, in runTool [str(row[0])], stoptimedict, CalcWaitTime, UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 25: ordinal not in range(128) Failed to execute (CountTripsAtStops). The GTFS dataset I used as an input is accessible here. I tried to change the file path or the file name, but it didn't work. Any ideas for possible solutions?
... View more
02-08-2019
02:10 PM
|
0
|
5
|
1376
|
POST
|
Hi there! I used the Add GTFS to network dataset toolbox, and I tried to create the transit lines and stops feature layers. I tested the tool with several GTFS datasets but in some of them failed to execute the lines and stops successfully... Here I quote the error message: Executing: GenerateTransitLinesAndStops C:\Users\alex_\Desktop\D4i_Sept18\CITIES\HAMBURG\Upload__HVV_Rohdaten_GTFS_Fpl_20170810 C:\Users\alex_\Desktop\D4i_Sept18\CITIES\HAMBURG\Hamburg_data.gdb\hamburg_gtfs Start Time: Mon Sep 10 07:14:44 2018 Running script GenerateTransitLinesAndStops... SQLizing the GTFS data... (This will take a few minutes for large datasets.) Generating transit stops feature class. Failed to generate transit lines and stops. Failed script GenerateTransitLinesAndStops... Traceback (most recent call last): File "c:\program files (x86)\arcgis\desktop10.3\ArcToolbox\Toolboxes\scripts\GenerateStopPairs.py", line 205, in <module> c.execute(selectstoptablestmt) OperationalError: no such column: wheelchair_boarding Failed to execute (GenerateTransitLinesAndStops). Failed at Mon Sep 10 07:16:56 2018 (Elapsed Time: 2 minutes 12 seconds) So, please let me know if there is a solution to this kind of error ... Thanks!
... View more
09-09-2018
09:37 PM
|
0
|
6
|
1390
|
Online Status |
Offline
|
Date Last Visited |
02-11-2021
01:43 PM
|