add_grid_table.Rd
Add a grid table to a GTFS feed
add_grid_table(gtfs, grid)
An object of class gtfs
.
A data.table
object created with
created with create_grid_table()
.
An object of class gtfs
. This is a
list of multiple data.table
objects
corresponding to the different dataset files of a GTFS feed. In addition to
those, the returned object will contain a
data.table
representing the reference grid of
a GTFS-Multi feed. See details.
The grid table of a GTFS-Multi feed always has the same structure as the stops table in a regular GTFS feed. Instead of a true transit stop location, each row represents a grid point (i.e. the centroid of a pixel in the reference grid).