UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

30 lines 894 B
/** * # Location Groups * * **Optional** * Defines groups of stops where a rider may request pickup or drop off. * `location_group_id` must be unique across: * - stops.stop_id * - locations.geojson ID * - location_groups.location_group_id */ export declare class GTFSLocationGroup { /** * **Required** * Identifies a location group. Must be unique (e.g., "zoneA", "northSideGroup"). */ id: string; /** * **Optional** * The name of the location group as displayed to the rider. */ name?: string; /** @param data - the parsed GTFS CSV data */ constructor(data: Record<string, string>); } /** * @param input - the input string to parse from * @returns - an array of GTFSLocationGroups */ export declare function parseGTFSLocationGroups(input: string): Record<string, GTFSLocationGroup>; //# sourceMappingURL=locationGroups.d.ts.map