WRI-Cities / static-GTFS-manager

GUI interface for creating, editing, exporting of static GTFS data for a public transit authority
GNU General Public License v3.0
147 stars 46 forks source link

Improve stats output #103

Closed answerquest closed 6 years ago

answerquest commented 6 years ago

Main page : Current GTFS data section: Presently loads like:

agency: 1 entries
calendar: 3 entries
fare_attributes: 10 entries
fare_rules: 576 entries
feed_info: 1 entries
routes: 2 entries
shapes_1: 720 entries
stops: 73 entries
stop_times_1: 13194 entries
transfers: 1 entries
translations: 72 entries
trips: 1056 entries

This is the output of a simple scan through the db folder. Need to refine this.

answerquest commented 6 years ago

Done. Re-wrote GTFSstats() function in python side. Will be put up with v2.1.0

Enlists:

Other features:

Sample output:

Agency: S-Bahn Berlin GmbH, Oberhavel Verkehrsgesellschaft mbH, and 38 more

1. Main tables: (*)
agency              : 40 entries
calendar            : 2,286 entries
stops               : 41,277 entries
routes              : 1,253 entries
trips               : 216,357 entries
stop_times          : 5,004,354 entries

2. Additional tables: (#)
calendar_dates      : 48,055 entries
fare_attributes     : 0 entries
fare_rules          : 0 entries
shapes              : 4,645,036 entries
frequencies         : 0 entries
transfers           : 96,085 entries
feed_info           : 0 entries

*: required parts of GTFS spec
#: part of GTFS spec but not compulsory