UNPKG

s2-tools

Version:

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

27 lines 889 B
/** * # Route Networks * * **Conditionally Forbidden** * Assigns routes (`routes.route_id`) to networks (`networks.network_id`). * This file is forbidden if `network_id` exists in `routes.txt`. Otherwise, it is optional. */ export declare class GTFSRouteNetwork { /** * **Required** * Identifies a network (`networks.network_id`) to which one or multiple routes belong. */ networkId: string; /** * **Required** * Identifies a route (`routes.route_id`). One route can only belong to one network. */ routeId: 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 RouteNetworks */ export declare function parseGTFSRouteNetworks(input: string): GTFSRouteNetwork[]; //# sourceMappingURL=routeNetworks.d.ts.map