Closed takohei closed 3 months ago
If an error occurs when reading a file other than the required table, the program terminates abnormally.
GTFS of Nanto city has a SJIS encoded file named "result.csv". I consider that the result of the mail detoxification was archived incorrectly.
"gtfs_parser\gtfs_parser\gtfs.py", line 12, in load_df UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 0: invalid start byte
I propose that GTFSFactory only read files that are actually used by this tool.
GTFSFactory
Currently, the GTFS specification has been extended and many files are defined that this tool does not use. This will improve the performance.
If an error occurs when reading a file other than the required table, the program terminates abnormally.
Example
GTFS of Nanto city has a SJIS encoded file named "result.csv". I consider that the result of the mail detoxification was archived incorrectly.
Proposal
I propose that
GTFSFactory
only read files that are actually used by this tool.Currently, the GTFS specification has been extended and many files are defined that this tool does not use. This will improve the performance.