stopstoSP: Projects the GTFS stops table to a SpatialPointsDataFrame

Description Usage Arguments Details Value Warning References See Also

Description

Projects a subset of the GTFS stops table to a SpatialPointsDataFrame with the selected projection.

Usage

1
stopstoSP(GTFSstops., epsg, useSIRI = FALSE, SIRI = NULL)

Arguments

GTFSstops.

A subset of the GTFS stops table, should be the product of StopsForSIRI.

epsg

a coordinate system code ( can be extracted using "make_EPSG" and searching the table).

useSIRI

logical. use a SIRI data frame as reference?

SIRI

if useSIRI is TRUE, which SIRI data frame to use?

Details

Requires the product of StopsForSIRI, is interchangeable with stopstoILTM for Israel's TM grid. the function is a part of STG and should not be used on it's own.

Value

A SpatialPointsDataFrame with stops relevant to SIRI's real-time data.

Warning

Do Not use this function on it's own, it is meant to be used only as part of the STG process

References

Bogin, D., Levy, N. and Ben-Elia E. (2018) Spatial and Temporal Estimation of the Service Reliability of Public Transportation Using Big Data and Open Source Tools

See Also

STG, stopstoILTM, StopsForSIRI


SIRItoGTFS documentation built on May 2, 2019, 9:33 a.m.