|
FeedValidator
IntroductionThe feedvalidator is a command line tool that checks a Google Transit Feed for problems and generates a HTML report. Running it on your transit data feed and fixing the issues that it finds can save you from display and routing problems down the road. For a list of the errors and warnings that FeedValidator outputs, see the FeedValidatorErrorsAndWarnings page. You may run the validator on an uncompressed directory of GTFS txt files. I recommend you validate your final google_transit.zip just before publishing it to catch any mistakes creating the zip. If you have an script that generates your GTFS file consider making validation a final step and aborting if it exits with an error. Windows standalone versionWe provide a Windows executable version for convenience; if you're running Windows, you should use this one. To get it, download the latest transitfeed-(version)-windows.zip from the project download page. Once you have it downloaded and unzipped, there are a few ways to run it: EasiestDrag a GTFS zip file or directory onto feedvalidator.exe. A window will pop up with the result of the validation test:
IntermediateDouble-click feedvalidator.exe. A window will pop up and ask you to enter the location of your feed file or directory. You can type it in, or just drag a GTFS file or directory onto the window and hit Enter. ExpertGo to the Windows command prompt, and type: feedvalidator <name of feed file or directory>. If you want to avoid the prompt at the end of the validation, use the --noprompt parameter. Python source code versionUse this version if you're on Mac OS X or Linux. Before you run the feed validator you must install Python. It is tested with versions 2.4 and 2.5 and should work with 2.6. You can download Python from http://www.python.org/download/ Fetch the transitfeed distribution from our source code repository (see Source tab above) or by downloading transitfeed-(version).tar.gz from the project download page. RunningRun the feed validator as feedvalidator.py <feed filename> The warning "Timezone not checked (install pytz package for timezone validation)" is normal. feedvalidator can not check the spelling of the agency_timezone until you install the pytz package. Extra help for Windows XP/2000 usersOpen a new Command Prompt window. Change into the directory containing feedvalidator.py (Hint: type "cd " without quotes and drag the icon of the folder into command prompt window). Run feedvalidator.py <feed filename>. If you don't want to type the feed filename try dragging it into the command prompt window. Command line optionsUsage: feedvalidator.py [options] [<input GTFS.zip>] Revision HistorySee the TransitFeedDistribution page. |
tell me more about feed validator, so it clear for me, thank you. usi2506
Santa Clara VTA's stop times file stops showing arrival and departure times midway thru the file, yet it passes validation. Shouldn't it fail as the times are blank and therefore don't follow the HH:MM:SS pattern?
1297754,"06:38:00","06:38:00",5381,8,"","","","" 1297753,"07:17:00","07:17:00",4773,4,"","","","" 1297736,"06:48:00","06:48:00",4773,4,"","","","" 1297754,"06:27:00","06:27:00",4773,4,"","","","" 1297753,"07:10:00","07:10:00",4770,1,"","","","" 1297736,"06:41:00","06:41:00",4770,1,"","","","" 1297754,"06:20:00","06:20:00",4770,1,"","","","" 1297753,"07:22:00","07:22:00",4775,6,"","","","" 1297736,"06:53:00","06:53:00",4775,6,"","","","" 1297754,"06:32:00","06:32:00",4775,6,"","","","" 1289662,"","",13,10,"","","","" 1289662,"","",12,9,"","","","" 1289662,"","",4544,3,"","","","" 1289662,"","",15,8,"","","","" 1289662,"","",4543,2,"","","","" 1289662,"","",4545,4,"","","","" 1289662,"","",5560,7,"","","","" 1289670,"","",13,10,"","","","" 1289670,"","",12,9,"","","","" 1289670,"","",4544,3,"","","",""
Receiving error "Invalid value value in field column name (E8)" in service_id for using value "x". Is there a format that needs to be used for the field service ID or is there a reason why x cannot be used for service?
Parshotamlal 063616508
My identiy card
for more new location street view tomorrow