Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catenarytransit/catenary-backend
/ functions
Functions
1,097 in github.com/catenarytransit/catenary-backend
⨍
Functions
1,097
◇
Types & classes
658
↓ 1 callers
Function
fetch_data
(etcd: &mut etcd_client::KvClient, feed_id: &str, client: &reqwest::Client)
src/alpenrose/custom_rt_feeds/metrolink_extra.rs:7
↓ 1 callers
Function
fetch_dft_bus_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, client: &reqwest::Client, )
src/alpenrose/custom_rt_feeds/uk.rs:5
↓ 1 callers
Function
fetch_metrolinx_platforms
Fetches platform assignments for a list of stop codes. Returns a HashMap where Key = (TripNumber, StopCode) and Value = Platform.
src/aspen/track_number/metrolinx_platforms.rs:66
↓ 1 callers
Function
fetch_mta_lirr_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, client: &reqwest::Client, )
src/alpenrose/custom_rt_feeds/mta.rs:40
↓ 1 callers
Function
fetch_mta_metronorth_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, client: &reqwest::Client, mnr_gtfs: >fs_s
src/alpenrose/custom_rt_feeds/mta.rs:64
↓ 1 callers
Function
fetch_northern_indiana_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, client: &reqwest::Client, )
src/alpenrose/custom_rt_feeds/northern_indiana.rs:5
↓ 1 callers
Function
fetch_nyct_subway_track_data
()
src/aspen/track_number/nyct_subway.rs:28
↓ 1 callers
Function
fetch_osm_stations_in_bbox
Fetch OSM stations within a bounding box for specified modes
src/maple/osm_station_matching.rs:198
↓ 1 callers
Function
fetch_rtc_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, gtfs: >fs_structures::Gtfs, client: &reqw
src/alpenrose/custom_rt_feeds/rtcquebec.rs:7
↓ 1 callers
Function
fetch_santa_cruz_clever_data
( route_id: &Vec<String>, )
src/santa_cruz.rs:52
↓ 1 callers
Function
fetch_stop_data_for_chateau
( pool: Arc<CatenaryPostgresPool>, chateau_id: String, stop_ids: Vec<String>, include_shapes:
src/birch/departures_shared.rs:33
↓ 1 callers
Function
fetch_tile
( conn: &mut bb8::PooledConnection< '_, diesel_async::pooled_connection::AsyncDieselConnec
src/shape_fetcher/mod.rs:111
↓ 1 callers
Function
fetch_tlms_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, client: &reqwest::Client, )
src/alpenrose/custom_rt_feeds/tlms.rs:20
↓ 1 callers
Function
fetch_unwire_dart_data
( kv_client: &mut KvClient, feed_id: &str, _client: &Client, )
src/alpenrose/custom_rt_feeds/unwire.rs:14
↓ 1 callers
Function
fetch_unwire_fawa_data
( kv_client: &mut KvClient, feed_id: &str, _client: &Client, )
src/alpenrose/custom_rt_feeds/unwire.rs:71
↓ 1 callers
Function
fetch_upexpress_platforms
Fetches platform assignments for a list of UP Express stop codes. Returns a HashMap where Key = (TripNumber, StopCode) and Value = Platform.
src/aspen/track_number/metrolinx_platforms.rs:139
↓ 1 callers
Function
fetch_via_data
( etcd: &mut etcd_client::KvClient, feed_id: &str, _client: &reqwest::Client, gtfs: >fs_stru
src/alpenrose/custom_rt_feeds/viarail.rs:5
↓ 1 callers
Function
fetch_via_rail
(pool: &CatenaryPostgresPool)
src/aspen/track_number/viarail.rs:42
↓ 1 callers
Function
filter_and_write_transfers
( stops_file_path: &str, transfers_file_path: &str, output_file_path: &str, )
src/maple/correction_of_transfers.rs:26
↓ 1 callers
Method
find_candidates
Find candidate edges near a point
src/globeflower/map_matcher.rs:154
↓ 1 callers
Function
find_json_files_recursive
(dir: &Path)
src/update_vehicles_db/main.rs:50
↓ 1 callers
Method
find_nearby_edges
Find edges near a point
src/globeflower/station.rs:134
↓ 1 callers
Function
find_optimal_calendar
( service_id: &str, active_dates: &HashSet<NaiveDate>, )
src/maple_syrup/service_optimisation.rs:239
↓ 1 callers
Function
find_parent_station_in_relation
Find the parent station node ID from a stop_area relation Returns (parent_osm_id, parent_name) where parent is the main station
src/osmstationimport/main.rs:312
↓ 1 callers
Method
find_path
Find shortest path between two edges using A* on the track graph
src/globeflower/map_matcher.rs:405
↓ 1 callers
Method
find_path_dist_cached
Wrapper for find_path that returns distance and uses cached context
src/globeflower/map_matcher.rs:374
↓ 1 callers
Function
fix_fares
( gtfs_uncompressed_temp_storage: &str, feed_id: &str, )
src/maple/gtfs_handlers/flatten.rs:29
↓ 1 callers
Function
fix_files_in_gtfs_directory
(path: &str)
src/maple/gtfs_handlers/fix_files.rs:5
↓ 1 callers
Function
fix_foreground_colour_rgb
( background: Option<RGB<u8>>, foreground: Option<RGB<u8>>, )
src/maple/gtfs_handlers/colour_correction.rs:263
↓ 1 callers
Function
fix_gtfs_route_colors
(gtfs_folder: P)
src/maple/gtfs_handlers/route_file_fixer.rs:7
↓ 1 callers
Function
flatten_feed
( gtfs_temp_storage: &str, gtfs_uncompressed_temp_storage: &str, feed_id: &str, feed: Rc<Feed>
src/maple/gtfs_handlers/flatten.rs:200
↓ 1 callers
Function
flatten_if_single_subfolder
(folder_path: &Path)
src/maple/gtfs_handlers/flatten.rs:162
↓ 1 callers
Method
footpaths_out
(&self)
src/routing_common/timetable.rs:148
↓ 1 callers
Method
fragments_overlap_metric
( &self, geom_a: &[(f64, f64)], frag_a: &Fragment, geom_b: &[(f64, f64)],
src/globeflower/corridor.rs:576
↓ 1 callers
Method
from_alpenrose_compressed
( self, _: context::Context, chateau_id: String, realtime_feed_id: String,
src/aspen/main.rs:610
↓ 1 callers
Method
full_aspen_dataset
( self, _context: tarpc::context::Context, chateau_id: String, )
src/aspen/main.rs:1546
↓ 1 callers
Function
gc_history
(history: &mut HashMap<String, VehicleState>, current_time_ms: u64)
src/aspen/trip_id_assigner_with_known_route_and_known_trip_updates.rs:81
↓ 1 callers
Method
generate_all
Generate all tiles for a zoom range and write them to disk. Uses parallel tile generation for improved performance.
src/harebell/generator.rs:22
↓ 1 callers
Function
get_alert_from_stop_ids
( authoritative_data_store: Arc<SccHashMap<String, catenary::aspen_dataset::AspenisedData>>, chateau_i
src/aspen/alerts_responder.rs:127
↓ 1 callers
Function
get_alert_from_trip_id
( authoritative_data_store: Arc<SccHashMap<String, catenary::aspen_dataset::AspenisedData>>, chateau_i
src/aspen/alerts_responder.rs:87
↓ 1 callers
Method
get_alert_from_trip_id
( self, _: context::Context, chateau_id: String, trip_id: String, )
src/aspen/main.rs:597
↓ 1 callers
Function
get_alerts_from_route_id
( authoritative_data_store: Arc<SccHashMap<String, catenary::aspen_dataset::AspenisedData>>, chateau_i
src/aspen/alerts_responder.rs:7
↓ 1 callers
Function
get_alerts_from_stop_id
( authoritative_data_store: Arc<SccHashMap<String, catenary::aspen_dataset::AspenisedData>>, chateau_i
src/aspen/alerts_responder.rs:47
↓ 1 callers
Function
get_child_nodes_in_relation
Get all node IDs from a stop_area relation; child filtering happens with tags.
src/osmstationimport/main.rs:381
↓ 1 callers
Function
get_closest_gtfs_stop
( gtfs: &'a gtfs_structures::Gtfs, lat: f64, lon: f64, )
src/alpenrose/custom_rt_feeds/bridgeport.rs:144
↓ 1 callers
Function
get_compatible_modes
Get modes that are compatible/related to the given mode These modes may share stations in real-world scenarios
src/maple/osm_station_matching.rs:44
↓ 1 callers
Method
get_consist_summary
Generates a condensed summary string of the consist car numbers. Groups consecutive car numbers into ranges (e.g., "6645-6641").
src/agency_specific_types/mta_subway.rs:65
↓ 1 callers
Function
get_expected_trip_position
( trip: &CompressedTrip, pattern_stops: &[(ItineraryPatternRow, Stop)], adjusted_time: i32, )
src/aspen/trip_id_assigner_with_known_route_and_known_trip_updates.rs:85
↓ 1 callers
Method
get_gtfs_rt_compressed
( self, _: context::Context, realtime_feed_id: String, feed_type: catenary::as
src/aspen/main.rs:528
↓ 1 callers
Method
get_initial_edge
Get the initial edge for greedy algorithm: highest cardinality edge. Matches C++ loom's GreedyOptimizer::getInitialEdge
src/harebell/optimizer.rs:3019
↓ 1 callers
Function
get_lirr_train_id
(entity: >fs_realtime::FeedEntity)
src/alpenrose/custom_rt_feeds/mta.rs:111
↓ 1 callers
Function
get_mvo_keycloak_token
copied again from public-transport/transitous
src/maple/transitland_download.rs:107
↓ 1 callers
Function
get_nearby_departures_stream
( context: NearbyDeparturesContext, params: NearbyFromCoordsV3, )
src/spruce/nearby_departures.rs:850
↓ 1 callers
Method
get_next_edge
Get next unsettled edge adjacent to the settled set. Matches C++ loom's GreedyOptimizer::getNextEdge
src/harebell/optimizer.rs:3029
↓ 1 callers
Function
get_node_for_realtime_feed_id
( etcd: &mut etcd_client::Client, realtime_feed_id: &str, )
src/lib.rs:374
↓ 1 callers
Function
get_node_properties
(t: &OsmTags)
src/routing_common/extract.rs:401
↓ 1 callers
Function
get_osm_stations_fields
()
src/birch/postgis_download.rs:723
↓ 1 callers
Function
get_osm_stations_ranked_fields
()
src/birch/postgis_download.rs:810
↓ 1 callers
Function
get_radius_for_mode
Get proximity threshold for a given mode
src/maple/osm_station_matching.rs:94
↓ 1 callers
Method
get_realtime_stops
( self, _context: tarpc::context::Context, chateau_id: String, stop_ids: Vec<S
src/aspen/main.rs:137
↓ 1 callers
Function
get_single_chateau_trajectories
( _pool: Arc<CatenaryPostgresPool>, etcd_connection_ips: Arc<EtcdConnectionIps>, etcd_connection_o
src/spruce/trajectories.rs:162
↓ 1 callers
Method
get_single_vehicle_location_from_gtfsid
( self, _: context::Context, chateau_id: String, gtfs_id: String, )
src/aspen/main.rs:1387
↓ 1 callers
Method
get_single_vehicle_location_from_vehicle_label
( self, _: context::Context, chateau_id: String, vehicle_id: String, )
src/aspen/main.rs:1410
↓ 1 callers
Function
get_speed_limit
(t: &OsmTags)
src/routing_common/extract.rs:288
↓ 1 callers
Function
get_threads_gtfs
(maple_config: &catenaryconfig::MapleConfig)
src/maple/main.rs:121
↓ 1 callers
Method
get_trip_modification
( self, _: context::Context, chateau_id: String, modification_id: String,
src/aspen/main.rs:249
↓ 1 callers
Method
get_trip_updates_from_route_ids
( self, _: context::Context, chateau_id: String, route_ids: Vec<String>, )
src/aspen/main.rs:1440
↓ 1 callers
Method
get_vehicle_locations_with_route_filtering
( self, _context: tarpc::context::Context, chateau_id: String, existing_fastha
src/aspen/main.rs:1308
↓ 1 callers
Method
get_way_node_distance
(&self, way: WayIdx, segment: usize)
src/routing_common/ways.rs:531
↓ 1 callers
Function
get_way_properties
(t: &OsmTags)
src/routing_common/extract.rs:366
↓ 1 callers
Method
greedy_order_component
Greedy ordering for a component. Implements C++ loom's GreedyOptimizer::getFlatConfig
src/harebell/optimizer.rs:3217
↓ 1 callers
Function
gtfs_ch_cleanup
(gtfs: Gtfs)
src/maple/gtfs_handlers/gtfs_de_cleanup.rs:43
↓ 1 callers
Function
gtfs_de_cleanup
(gtfs: Gtfs)
src/maple/gtfs_handlers/gtfs_de_cleanup.rs:4
↓ 1 callers
Function
gtfs_process_feed
take a feed id and throw it into postgres
src/maple/gtfs_process.rs:129
↓ 1 callers
Function
gtfs_rt_id_cleanup
(global_timestamp: Option<u64>, id: String)
src/id_cleanup/mod.rs:11
↓ 1 callers
Function
guess_trip_id
( gtfs: >fs_structures::Gtfs, route_id: &str, next_stop_name: &str, api_stops: &[BridgeportS
src/alpenrose/custom_rt_feeds/bridgeport.rs:163
↓ 1 callers
Method
handle
(&mut self, msg: Result<ws::Message, ws::ProtocolError>, ctx: &mut Self::Context)
src/spruce/trip_websocket.rs:871
↓ 1 callers
Method
has_toll
(&self)
src/routing_common/ways.rs:71
↓ 1 callers
Function
hash_file_content_sip_zero
Computes the SipHash-2-4 hash using the fixed zero key.
src/hashfolder.rs:52
↓ 1 callers
Function
hash_folder_sip_zero
Computes a deterministic SipHash-2-4 hash using a fixed zero key. (Public interface) Calculates the SipHash (zero key) for each non-PDF file, stores
src/hashfolder.rs:134
↓ 1 callers
Function
haversine_distance
(lat1: f64, lon1: f64, lat2: f64, lon2: f64)
src/maple/large_gtfs_insertion.rs:170
↓ 1 callers
Function
haversine_distance
(lat1: f64, lon1: f64, lat2: f64, lon2: f64)
src/maple/gtfs_process.rs:2460
↓ 1 callers
Function
haversine_distance_meters
(lat1: f64, lon1: f64, lat2: f64, lon2: f64)
src/birch/text_search/mod.rs:105
↓ 1 callers
Method
hb
(&self, ctx: &mut ws::WebsocketContext<Self>)
src/spruce/trip_websocket.rs:111
↓ 1 callers
Method
hello
(self, _: context::Context, name: String)
src/aspen/main.rs:348
↓ 1 callers
Method
hill_climb_refine
Hill climbing optimization: iteratively swap line pairs to reduce crossings. Matches C++ loom's HillClimbOptimizer::optimizeComp
src/harebell/optimizer.rs:3482
↓ 1 callers
Method
hydrate_routes
( &self, route_ids: Vec<(String, String)>, // (chateau, route_id) )
src/edelweiss/hydrator.rs:70
↓ 1 callers
Method
hydrate_stops
( &self, stop_ids: Vec<(String, String)>, // (chateau, station_id) )
src/edelweiss/hydrator.rs:16
↓ 1 callers
Method
incline_down
(mut self, v: bool)
src/routing_common/ways.rs:247
↓ 1 callers
Function
index_alert
( alert: &AspenisedAlert, alert_id: &str, impacted_route_id_to_alert_ids: &mut AHashMap<String, Ve
src/aspen/alerts_processing.rs:92
↓ 1 callers
Function
insert_ip_db_into_postgres
( arc_conn_pool: Arc<CatenaryPostgresPool>, )
src/ip_to_location/mod.rs:132
↓ 1 callers
Method
insert_station_cluster
Insert a single station cluster
src/globeflower/station.rs:83
↓ 1 callers
Method
insert_station_node
Insert a station node for a specific z-class and direction group
src/globeflower/station.rs:217
↓ 1 callers
Method
insert_stations
Insert stations from stop clusters
src/globeflower/station.rs:62
↓ 1 callers
Function
insert_tile
( conn: &mut bb8::PooledConnection< '_, diesel_async::pooled_connection::AsyncDieselConnec
src/shape_fetcher/mod.rs:136
↓ 1 callers
Method
into_gtfs_entity_list
(self)
src/custom_alerts/metrolink_alerts.rs:148
↓ 1 callers
Method
inverse
Converts Local (x, y) back to WGS84 (lon, lat)
src/maple/gtfs_handlers/hull_from_gtfs.rs:288
↓ 1 callers
Method
is_accessible
(&self)
src/routing_common/ways.rs:104
↓ 1 callers
Function
is_big_street
(t: &OsmTags)
src/routing_common/extract.rs:345
↓ 1 callers
Method
is_big_street
(&self)
src/routing_common/ways.rs:74
← previous
next →
401–500 of 1,097, ranked by callers