gtfs_clip: Clip a GTFS object to a geographical area

View source: R/gtfs_subset.R

gtfs_clipR Documentation

Clip a GTFS object to a geographical area

Description

Clips the GTFS file to only include stops within the bounds object, trips that cross the boundary of the the object are truncated. Any trips that stop only once in the bounds are removed completely.

Usage

gtfs_clip(gtfs, bounds)

Arguments

gtfs

a gtfs object

bounds

an sf data frame of polygons or multi-polygons with CRS 4326


ITSLeeds/UK2GTFS documentation built on Feb. 14, 2025, 11:20 a.m.