Methods
- 
			<inner> getStop( db, id, callback )
- 
	DescriptionGet the Stop(s) specified by ID(s) from the passed database ParametersName Type Description dbRightTrackDB The Right Track Database to query idstring | Array.<string> Stop ID(s) callbackfunction Callback function Name Type Attributes Description errorError Database Query Error stopStop | Array.<Stop> <optional> The selected Stop(s) Details
- 
			<inner> getStopByName( db, name, callback )
- 
	DescriptionGet the Stop specified by name from the passed database ParametersName Type Description dbRightTrackDB The Right Track Database to query namestring Stop Name (found in either gtfs_stops, rt_alt_stop_names or rt_stops_extra tables) callbackfunction Callback function Name Type Attributes Description errorError Database Query Error stopStop <optional> The selected Stop Details
- 
			<inner> getStopByStatusId( db, statusId, callback )
- 
	DescriptionGet the Stop specified by status id from the passed database ParametersName Type Description dbRightTrackDB The Right Track Database to query statusIdstring the status id of the Stop callbackfunction Callback function Name Type Attributes Description errorError Database Query Error stopStop <optional> The selected Stop Details
- 
			<inner> getStops( db [, hasFeed ], callback )
- 
	DescriptionGet all of the Stops that are stored in the passed database (sorted alphabetically), optionally filtered to only include Stops that support real-time Station Feeds. ParametersName Type Attributes Default Description dbRightTrackDB The Right Track Database to query hasFeedboolean <optional> false When true, only return Stops that support real-time Station Feeds. When false, include all Stops. callbackfunction Callback function Name Type Attributes Description errorError Database Query Error stopsArray.<Stop> <optional> The selected Stops Details
- 
			<inner> getStopsByRoute( db, routeId [, hasFeed ], callback )
- 
	DescriptionGet all of the Stops that are associated with the specified route (sorted alphabetically), optionally filtered to only include Stops that support real-time Station Feeds. ParametersName Type Attributes Default Description dbRightTrackDB The Right Track Database to query routeIdstring The Route ID hasFeedboolean <optional> false When true, only return Stops on Route that support real-time Station Feeds. When false, include all Stops on Route. callbackfunction Callback function Name Type Attributes Description errorError Database Query Error stopsArray.<Stop> <optional> The selected Stops Details
- 
			<inner> getStopsByLocation( db, lat, lon [, options ], callback )
- 
	DescriptionGet Stops sorted by distance from the specified location. Optionally, filter the returned stops to include up to countresults and/or withindistancemiles from the location. Also, the returned Stops can be filtered to include only Stops that support real-time Station Feeds and/or are associated with a specific Route.ParametersName Type Attributes Description dbRightTrackDB The Right Track Database to query latnumber Location latitude (decimal degrees) lonnumber Location longitude (decimal degrees) optionsObject <optional> Filter Options Name Type Attributes Description countint <optional> Max number of Stops to return distancenumber <optional> Max distance (miles) Stops can be from location hasFeedboolean <optional> When true, only return Stops that support real-time Station Feeds. Otherwise include all matching Stops. routeIdstring <optional> When provided with a GTFS Route ID, return only Stops associated with the Route callbackfunction Callback function Name Type Attributes Description errorError Database Query Error stopsArray.<Stop> <optional> The selected Stops Details