mosstool.map.public_transport.gtfs_converter

Module Contents

Functions

convert_gtfs_to_format

Convert GTFS txt files to the target format.

API

mosstool.map.public_transport.gtfs_converter.convert_gtfs_to_format(gtfs_dir: str) dict[str, Any]

Convert GTFS txt files to the target format.

Args: gtfs_dir: Directory containing GTFS txt files (routes.txt, stops.txt, trips.txt, stop_times.txt, shapes.txt)

Returns: Dict containing the converted data in the target format