
Convert shapes table to simple feature object (deprecated)
Source: R/convert_shapes_to_sf.R
convert_shapes_to_sf.RdThis function is deprecated: calling it raises a warning. Please use
get_shapes_geometry() instead, which takes the same arguments (except
sort_sequence) and returns the same result.
Arguments
- gtfs
A GTFS object, as created by
read_gtfs().- shape_id
A character vector including the
shape_ids to be converted. IfNULL(the default), all shapes are converted.- crs
The CRS of the resulting object, either as an EPSG code or as an
crsobject. Defaults to 4326 (WGS 84).- sort_sequence
Deprecated; do not supply. Shapes are now always sorted by
shape_pt_sequence. PassingTRUEraises a warning, and passingFALSEraises an error.
See also
get_shapes_geometry(), which replaces this function.