shapes_as_sf: Convert shapes into Simple Features Linestrings

View source: R/spatial.R

shapes_as_sfR Documentation

Convert shapes into Simple Features Linestrings

Description

Convert shapes into Simple Features Linestrings

Usage

shapes_as_sf(gtfs_shapes, crs = NULL)

Arguments

gtfs_shapes

a gtfs$shapes dataframe

crs

optional coordinate reference system (used by sf::st_transform) to transform lon/lat coordinates

Value

an sf dataframe for gtfs shapes

See Also

gtfs_as_sf


r-transit/tidytransit documentation built on Feb. 18, 2024, 8:03 p.m.