Tstopsbylocation: Query stops by goegraphic location

Description Usage Arguments Value

Description

Returns information about the nearest stops to a particular location.

Usage

1
Tstopsbylocation(lat, lon, radius = 0.01) 

Arguments

lat

The latitude for location near which stops should be returned. Example: "42.352913"

lon

The longitude for location near which stops should be returned. Example: "-71.064648"

radius

Radius in degrees around the coordinates in which to search. Defaults to 0.01 degrees, or approximately half a mile.

Value

stop_id

The GTFS-compatible unique identifier for the stop. Example: "70063"

address

Street address or intersection at which stop is located. (note: can be empty for non-parent stations).

description

Full description of stop or entrance/exit.

latitude

The GTFS-compatible latitude of the station. Example: "42.3967399597168"

location_type

Takes value of 0, 1, or 2, corresponding to stops, parent stations, and entrances/exits, respectively.

longitude

The GTFS- compatible longitude of the station. Example: "-71.1218185424805"

name

The GTFS-compatible name for the stop (not unique). Example: "State Street"

platform_code

Number, 1 through 13, indicating platform within station serving commuter rail.

platform_name

Direction towards which vehicles from that platform go.

wheelchair_boarding

Code for whether or not platform allows for wheelchair access. tkaes values of 0, 1, or 2, corresponding to no information, accessible, or inaccessible, respectively.

parent_station

The GTFS-compatible unique identifier for the station associated with the stop. (note: can be empty if stop does not have an associated station). Example: "place-davis"


MBTAr documentation built on May 2, 2019, 6:59 a.m.