shapes_as_sf: Convert shapes into Simple Features Linestrings

Description Usage Arguments Value

View source: R/spatial.R

Description

Convert shapes into Simple Features Linestrings

Usage

1
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


tidytransit documentation built on Nov. 23, 2021, 5:08 p.m.