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
↓ 4 callers
Method
load
(pool: &Arc<CatenaryPostgresPool>)
src/spruce/chateau_rtree.rs:26
↓ 4 callers
Function
match_stops_for_feed
Batch match stops for a feed, updating stops.osm_station_id directly This is called during GTFS import in gtfs_process.rs Algorithm: 1. Load stops in
src/maple/osm_station_matching.rs:750
↓ 4 callers
Function
overlap_ratio_metric
Check overlap ratio of A onto B in metric space using interval intersection.
src/globeflower/geometry_utils.rs:162
↓ 4 callers
Method
points
(&self, steps: usize)
src/harebell/tile_gen.rs:1196
↓ 4 callers
Function
precompute_chateau_map
(response: &GetVehicleLocationsResponse)
src/spruce/map_coordinator.rs:185
↓ 4 callers
Function
resolve_coords
( partition_id: u32, stop_idx: u32, partition_map: &HashMap<u32, &TransitPartition>, )
src/linnaea/main.rs:26
↓ 4 callers
Function
rt_stop_matches_scheduled_simple
Simpler version of stop matching for handlers without mapping access. Falls back to underscore suffix pattern matching only.
src/birch/stop_matching.rs:42
↓ 4 callers
Method
run
( &mut self, params: &P::Params, graph: &RoutingGraph, max_cost: CostT,
src/routing_common/dijkstra.rs:125
↓ 4 callers
Function
tile_enum_to_i16
(x: TileCategory)
src/tile_save_and_get.rs:15
↓ 4 callers
Function
tile_width_degrees_from_z
(z: u8)
src/birch/postgis_download.rs:257
↓ 4 callers
Method
way_nodes
(&self)
src/routing_common/ways.rs:463
↓ 4 callers
Function
wipe_whole_feed
( feed_id: &str, pool: Arc<CatenaryPostgresPool>, )
src/maple/cleanup.rs:593
↓ 3 callers
Function
add_auth_headers
(request: RequestBuilder, feed_id: &str)
src/maple/transitland_download.rs:969
↓ 3 callers
Function
batch_update_stops
Batch update stops with OSM station and platform IDs using unnest
src/maple/osm_station_matching.rs:243
↓ 3 callers
Function
bearing
Calculate bearing angle (degrees)
src/globeflower/geometry_utils.rs:293
↓ 3 callers
Function
calculate_direction_pattern_id
(route_id: &str, stop_sequence: Vec<CompactString>)
src/maple_syrup/mod.rs:490
↓ 3 callers
Function
category_to_allowed_route_ids
(category: &CategoryOfRealtimeVehicleData)
src/birch/aspenised_data_over_https.rs:87
↓ 3 callers
Function
classify_mode
Classify mode type based on OSM tags
src/osmstationimport/main.rs:113
↓ 3 callers
Function
cleanup_response
( response: Response, urltype: UrlType, feed_id: &str, hashes_of_data: Arc<SccHashMap<(String,
src/alpenrose/single_fetch_time.rs:53
↓ 3 callers
Method
count_crossings_at_node
Count crossings at a single node for a given edge ordering config. Returns (same_segment_crossings, diff_segment_crossings)
src/harebell/optimizer.rs:3358
↓ 3 callers
Method
create_or_update_edge
Create or update an edge between two nodes
src/globeflower/support_graph.rs:424
↓ 3 callers
Function
create_stop
Stops
src/edelweiss/test_direct_connections_intermediate.rs:23
↓ 3 callers
Function
delete_attempt_objects
( feed_id: &str, attempt_id: &str, pool: Arc<CatenaryPostgresPool>, )
src/maple/cleanup.rs:369
↓ 3 callers
Method
elevator
(mut self, v: bool)
src/routing_common/ways.rs:169
↓ 3 callers
Method
ensure_service_context
( &self, partition_id: u32, timezone_idx: u32, timezones: &[String], c
src/edelweiss/query_graph.rs:709
↓ 3 callers
Function
estimate_service_date
Estimate if a realtime trip update matches a valid scheduled trip's service date
src/birch/departures_shared.rs:670
↓ 3 callers
Function
extract_sub_zip
Extracts a sub zip file and uses it as the parent folder
src/maple/gtfs_handlers/flatten.rs:83
↓ 3 callers
Function
extract_to_dir
(input: &Path, output_dir: &Path)
src/avens/main.rs:75
↓ 3 callers
Function
fast_hash
(t: &T)
src/lib.rs:286
↓ 3 callers
Function
fetch_lirr_mnr_track_data
( chateau_id: &str, pool: &CatenaryPostgresPool, )
src/aspen/track_number/lirr_mnr.rs:99
↓ 3 callers
Function
fetch_track_data
(chateau_id: &str, pool: &CatenaryPostgresPool)
src/aspen/track_number/mod.rs:196
↓ 3 callers
Function
finalize_chunk_response
( intermediates: &[Option<ChateauIntermediate>], etcd_arc: Arc<Option<etcd_client::Client>>, skip_
src/spruce/nearby_departures.rs:1637
↓ 3 callers
Function
find_service_ranges
( service: &CalendarUnified, trip_instance: &TripToFindScheduleFor, input_time: chrono::DateTime<c
src/lib.rs:630
↓ 3 callers
Method
forward
Converts WGS84 (lon, lat) to Local (x, y) in metres
src/maple/gtfs_handlers/hull_from_gtfs.rs:274
↓ 3 callers
Method
get_alert_from_stop_ids
( self, _: context::Context, chateau_id: String, stop_ids: Vec<String>, )
src/aspen/main.rs:584
↓ 3 callers
Method
get_alerts_from_route_id
( self, _: context::Context, chateau_id: String, route_id: String, )
src/aspen/main.rs:558
↓ 3 callers
Function
get_gtfs_header_timestamp_from_bytes
(data: &[u8])
src/timestamp_extraction.rs:6
↓ 3 callers
Function
get_icon_min_zoom
(level: i16)
src/osm_station_rank_and_clean/main.rs:92
↓ 3 callers
Function
get_mta_trips
( client: &reqwest::Client, url: &str, )
src/alpenrose/custom_rt_feeds/mta.rs:135
↓ 3 callers
Method
get_node_pos
(&self, node: NodeIdx)
src/routing_common/ways.rs:541
↓ 3 callers
Method
get_region_for_point
(&self, lat: f64, lon: f64)
src/routing_common/graph_loader.rs:91
↓ 3 callers
Method
get_trajectories
( self, _: tarpc::context::Context, chateau_id: String, params: catenary::pasq
src/aspen/main.rs:1608
↓ 3 callers
Method
get_trip_updates_from_trip_id
( self, _: context::Context, chateau_id: String, trip_id: String, )
src/aspen/main.rs:1474
↓ 3 callers
Method
get_urls
(&self)
src/catenaryconfig.rs:373
↓ 3 callers
Method
greedy_hillclimb_component
Combined greedy + hill climbing for large components Use this as fallback when ILP is too expensive
src/harebell/optimizer.rs:3558
↓ 3 callers
Function
hausdorff_distance_metric
Calculate Hausdorff distance between two densified polylines in metric space.
src/globeflower/geometry_utils.rs:143
↓ 3 callers
Function
index_trip_update_id
( lookup: &mut AHashMap<CompactString, Vec<CompactString>>, trip_id: &str, entity_id: &str, )
src/aspen/import_alpenrose.rs:71
↓ 3 callers
Method
is_bus_accessible
(&self)
src/routing_common/ways.rs:81
↓ 3 callers
Method
is_car_accessible
(&self)
src/routing_common/ways.rs:33
↓ 3 callers
Function
is_railway_station_or_platform
Check if this OSM object should be included as a railway station/platform
src/osmstationimport/main.rs:226
↓ 3 callers
Function
load_chateau_data
( chateau_id: &str, )
src/aspen/persistence.rs:30
↓ 3 callers
Function
login
Admin Credential login
src/birch/api_key_management.rs:29
↓ 3 callers
Function
lon_lat_to_tile
Math helpers
src/osm_extractor/main.rs:388
↓ 3 callers
Function
make_browser_like_client
Creates a client that better mimics a real browser to bypass anti-bot systems
src/maple/transitland_download.rs:162
↓ 3 callers
Function
make_en_translated_string
(text: String)
src/custom_alerts/metrolink_alerts.rs:522
↓ 3 callers
Function
make_feed_from_entity_vec
(entities: Vec<FeedEntity>)
src/lib.rs:415
↓ 3 callers
Function
make_hashmap_stops_to_route_types_and_ids
( gtfs: >fs_structures::Gtfs, )
src/maple/gtfs_handlers/stops_associated_items.rs:16
↓ 3 callers
Function
make_reqwest_client
()
src/maple/transitland_download.rs:145
↓ 3 callers
Function
make_reqwest_for_url
( url_type: UrlType, assignment: &RealtimeFeedFetch, client: reqwest::Client, )
src/alpenrose/single_fetch_time.rs:784
↓ 3 callers
Function
minimum_day_filter
(gtfs: Gtfs, naive_date: chrono::NaiveDate)
src/schedule_filtering/mod.rs:108
↓ 3 callers
Function
option_i32_to_schedule_relationship
( schedule_relationship: &Option<i32>, )
src/aspen_dataset.rs:594
↓ 3 callers
Function
project_point_to_polyline
( point: (f64, f64), coords: &[(f64, f64)], )
src/globeflower/geometry_utils.rs:266
↓ 3 callers
Function
protobuf_to_frequencies
( frequencies: &GtfsFrequenciesProto, )
src/lib.rs:275
↓ 3 callers
Method
push
(&mut self, cost: CostT, node: NodeIdx, level: Level)
src/routing_common/dijkstra.rs:26
↓ 3 callers
Method
read_tile
(&self, key: (i32, i32))
src/globeflower/corridor.rs:692
↓ 3 callers
Function
reduce
(gtfs: >fs_structures::Gtfs)
src/maple_syrup/mod.rs:90
↓ 3 callers
Function
requires_authentication
Check if a feed requires authentication (headers, API keys, basic auth, etc.) Feeds that require auth should NOT use wget fallback since wget won't ha
src/maple/transitland_download.rs:231
↓ 3 callers
Function
run_optional_req
( request: Option<reqwest::Request>, client: reqwest::Client, )
src/alpenrose/single_fetch_time.rs:767
↓ 3 callers
Function
save_chateau_data
( chateau_id: &str, data: &AspenisedData, )
src/aspen/persistence.rs:6
↓ 3 callers
Function
score_candidate
Score a candidate station against a stop
src/maple/osm_station_matching.rs:320
↓ 3 callers
Method
speed_limit
(&self)
src/routing_common/ways.rs:52
↓ 3 callers
Function
tile_category_to_number
(category: &Category)
src/shape_fetcher/mod.rs:15
↓ 3 callers
Method
trigger_trajectory_update
(&mut self, ctx: &mut ws::WebsocketContext<Self>)
src/spruce/trip_websocket.rs:731
↓ 3 callers
Function
try_wget_fallback
Fallback to wget for downloading files when reqwest fails This can bypass some server-side restrictions that block reqwest
src/maple/transitland_download.rs:272
↓ 3 callers
Method
union
(&mut self, x: usize, y: usize)
src/globeflower/corridor.rs:109
↓ 3 callers
Method
update_map_subscriptions
( &mut self, ctx: &mut ws::WebsocketContext<Self>, new_chateaus: HashSet<String>,
src/spruce/trip_websocket.rs:287
↓ 3 callers
Function
upsert_compact_feed
( store: &SccHashMap<(String, GtfsRtType), CompactFeedMessage>, realtime_feed_id: &str, feed_type:
src/aspen/main.rs:2291
↓ 2 callers
Method
add_dag_edge
(&mut self, partition_id: u32, dag_edge: &DagEdge)
src/edelweiss/query_graph.rs:303
↓ 2 callers
Function
alpenrose_loop_process_thread
( alpenrose_to_process_queue: Arc<Injector<ProcessAlpenroseData>>, authoritative_gtfs_rt_store: Arc<Sc
src/aspen/async_threads_alpenrose.rs:139
↓ 2 callers
Function
authenticate_genentech
( client: &reqwest::Client, )
src/genentech_auth.rs:8
↓ 2 callers
Function
availability_to_int
(input: >fs_structures::Availability)
src/enum_to_int.rs:35
↓ 2 callers
Function
bearing_difference
(a: f64, b: f64)
src/globeflower/geometry_utils.rs:309
↓ 2 callers
Method
big_street
(mut self, v: bool)
src/routing_common/ways.rs:207
↓ 2 callers
Method
bus_accessible_with_penalty
(mut self, v: bool)
src/routing_common/ways.rs:235
↓ 2 callers
Method
calculate_arrival_time_unix
( &self, partition: &TransitPartition, trip: &CompressedTrip, stop_idx_in_patt
src/edelweiss/query_graph.rs:981
↓ 2 callers
Method
calculate_arrival_time_unix_dc
( &self, dc: &catenary::routing_common::transit_graph::DirectConnections, trip: &Compr
src/edelweiss/query_graph.rs:1024
↓ 2 callers
Function
calendar_into_postgres
( gtfs: >fs_structures::Gtfs, feed_id: &str, arc_conn_pool: Arc<CatenaryPostgresPool>, chate
src/maple/gtfs_ingestion_sequence/calendar_into_postgres.rs:8
↓ 2 callers
Method
can_merge_routes
(&self, mode: RailMode, a: &AtomicEdge, b: &AtomicEdge)
src/globeflower/corridor.rs:540
↓ 2 callers
Method
chateau
(&self)
src/routing_common/api.rs:191
↓ 2 callers
Function
closest_distance_percentile_metric
Calculate the P-th percentile distance from A to B. e.g. p90 means 90% of points on A are within this distance of B.
src/globeflower/geometry_utils.rs:420
↓ 2 callers
Method
cmp
(&self, other: &Self)
src/hull.rs:29
↓ 2 callers
Method
cmp
(&self, other: &Self)
src/globeflower/map_matcher.rs:27
↓ 2 callers
Method
compute_edge_score
Compute crossing score for a single edge (at both endpoints)
src/harebell/optimizer.rs:3465
↓ 2 callers
Method
config
Get the configuration for this region
src/globeflower/regions.rs:32
↓ 2 callers
Function
connections_lookup
( input_chateau: &str, input_route: &str, input_route_type: i16, stop_positions: Vec<(String,
src/birch/connections_lookup.rs:30
↓ 2 callers
Function
contains_html
(text: &str)
examples/check_alerts_html.rs:150
↓ 2 callers
Function
convert
( mta: &Vec<MtaTrain>, railroad: MtaRailroad, input_gtfs_trips: >fs_realtime::FeedMessage, )
src/alpenrose/custom_rt_feeds/mta.rs:295
↓ 2 callers
Function
convert_hhmmss_to_seconds
(input: &str)
src/lib.rs:841
↓ 2 callers
Function
convert_support_node_to_catenary
Convert SupportNodeId to catenary's NodeId format
src/globeflower/export.rs:262
↓ 2 callers
Function
convert_text_12h_to_24h
(input: &str)
src/lib.rs:803
← previous
next →
101–200 of 1,097, ranked by callers