Open werebus opened 4 months ago
GTFS stops.txt
contains:
GTFS Field | BusStop attribute |
---|---|
stop_id |
:hastus_id |
stop_name |
:name |
location_type |
should be 0 , other location types aren't "stops" |
wheelchair_boarding (maybe?) |
0 /blank: don't update, 1 : true , 2 : false |
This app is built around the assumption that the site was temporary and only data from Hastus matters. As such, the import task wipes the database and imports fresh (it also doesn't work at the moment).
Seems like we might never sync with Hastus again (or even for the first time?). So we can make an more traditional find-or-create, update importer that uses the GTFS (
stops.txt
) data. Since we're using the GTFS data as a data source elsewhere.