s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
26 lines • 794 B
TypeScript
/**
* # Location Group Stops
*
* **Optional**
* Assigns stops from `stops.txt` to location groups (`location_groups.txt`).
*/
export declare class GTFSLocationGroupStop {
/**
* **Required**
* Identifies a location group (`location_groups.location_group_id`).
*/
locationGroupId: string;
/**
* **Required**
* Identifies a stop (`stops.stop_id`) belonging to that location group.
*/
stopId: 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 GTFSLocationGroupStops
*/
export declare function parseGTFSLocationGroupStops(input: string): GTFSLocationGroupStop[];
//# sourceMappingURL=locationGroupStops.d.ts.map