get_stops_sf: Convert GTFS Stops to Simple Features

View source: R/get_stops_sf.R

get_stops_sfR Documentation

Convert GTFS Stops to Simple Features

Description

Convert GTFS Stops to Simple Features

Usage

get_stops_sf(gtfs)

Arguments

gtfs

A GTFS object or a 'stops' data frame.

Value

For a data frame, a WGS84 point 'sf' object. For a GTFS object, the same object with its 'stops' table converted to 'sf'.

Examples

gtfs_sf <- get_stops_sf(for_rail_gtfs)
stops_sf <- get_stops_sf(for_rail_gtfs$stops)


GTFSwizard documentation built on Aug. 21, 2026, 5:16 p.m.