gis-tools-ts - v0.6.1
    Preparing search index...

    Class GTFSScheduleReader

    GTFS Schedule Reader

    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);
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • TODO: Add proeprties from other files like "color" TODO: All features should be parsed as VectorGeometry Yields all of the shapes

      Returns AsyncGenerator<GTFSFeature>

      • an iterator that contains shapes, stops, location data, and routes