Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aytee17 committed Dec 9, 2017
2 parents 4143aa4 + bf068a3 commit 4e10dbb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ brew install gtsql
```
usage: gtsql -p <gtfs_path> [-u <gtfs_url>] -d <database_path>
-p,--path <gtfs_path> Path to the GTFS data (.zip or directory)
-u,--url <gtfs_url> URL to the GTFS data
-u,--url <gtfs_url> HTTP URL to the GTFS data
-d,--database <database_path> Path to the database file
```

## Notes
1. If your GTFS static feed contains custom fields not defined in the [GTFS specification](http://gtfs.org/reference/) they will be ignored when the files are parsed. To include them in the database, add the custom field to ```resources/GTFS_Specification.json``` following the conventions of the other fields.
2. If the feed you are working with uses ```calendar_dates.txt``` instead of ```calendar.txt``` update ```resources/GTFS_Specification.json``` to reflect this in all foreign key references to ```calendar```.
* Before attempting to generate the database consider validating your feed through [Google's transit feed validator](https://github.com/google/transitfeed) and correcting any errors.
* If your GTFS static feed contains custom fields not defined in the [GTFS specification](http://gtfs.org/reference/) they will be ignored when the files are parsed. To include them in the database, add the custom field to ```resources/GTFS_Specification.json``` following the conventions of the other fields.
* If the feed you are working with uses ```calendar_dates.txt``` instead of ```calendar.txt```, update ```resources/GTFS_Specification.json``` to reflect this in all foreign key references to ```calendar```.

0 comments on commit 4e10dbb

Please sign in to comment.