Schedule class that pulls in all of the GTFS schedule files and parses them into a single object implements the FeatureIterator interface.
import { buildGTFSSchedule } from 'gis-tools-ts';const schedule = await buildGTFSSchedule(gzipData);for await (const feature of schedule) { console.log(feature);} Copy
import { buildGTFSSchedule } from 'gis-tools-ts';const schedule = await buildGTFSSchedule(gzipData);for await (const feature of schedule) { console.log(feature);}
all files
TODO: Add proeprties from other files like "color" TODO: All features should be parsed as VectorGeometry Yields all of the shapes
an iterator that contains shapes, stops, location data, and routes
GTFS Schedule Reader
Description
Schedule class that pulls in all of the GTFS schedule files and parses them into a single object implements the FeatureIterator interface.
Usage
Links