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,117 callers
Method
get
(&self, key: usize)
src/routing_common/types.rs:221
↓ 576 callers
Method
push
(&mut self, key: usize, value: V)
src/routing_common/types.rs:293
↓ 475 callers
Method
len
(&self)
src/routing_common/types.rs:213
↓ 369 callers
Method
eq
(&self, other: &Self)
src/globeflower/map_matcher.rs:16
↓ 325 callers
Method
is_empty
(&self)
src/routing_common/types.rs:217
↓ 162 callers
Method
into
(self)
src/custom_alerts/metrolink_alerts.rs:111
↓ 71 callers
Method
extend
(&mut self, key: usize, values: impl IntoIterator<Item = V>)
src/routing_common/types.rs:297
↓ 70 callers
Method
load
(mmap: Arc<Mmap>)
src/routing_common/ways.rs:427
↓ 67 callers
Method
find
(&mut self, x: usize)
src/globeflower/corridor.rs:102
↓ 47 callers
Method
into
(self)
src/aspen_dataset.rs:672
↓ 46 callers
Method
header
(&self)
src/routing_common/timetable.rs:133
↓ 43 callers
Function
spawn_aspen_client_from_ip
( addr: &SocketAddr, )
src/aspen/lib.rs:242
↓ 41 callers
Function
duration_since_unix_epoch
()
src/lib.rs:305
↓ 39 callers
Function
execute_pfaedle_rs
( gtfs_path: &str, osm_path: &str, mots: Option<Vec<String>>, drop_shapes: bool, write_col
src/maple/gtfs_process.rs:82
↓ 31 callers
Method
len
(&self)
src/spruce/map_coordinator.rs:384
↓ 29 callers
Method
build
(self)
src/routing_common/ways.rs:260
↓ 28 callers
Method
read
(&mut self, buf: &mut [u8])
src/maple/shapes_reader.rs:208
↓ 24 callers
Method
cmp
(&self, other: &Self)
src/edelweiss/query_graph.rs:37
↓ 24 callers
Method
write_record
(&mut self, partition_idx: usize, record: &csv::StringRecord)
src/maple/large_gtfs_insertion.rs:254
↓ 23 callers
Method
clear
(&mut self)
src/routing_common/dijkstra.rs:49
↓ 23 callers
Method
haversine_distance
(&self, other: &Point)
src/routing_common/types.rs:352
↓ 21 callers
Function
spawn
(fut: impl Future<Output = ()> + Send + 'static)
src/aspen/main.rs:1797
↓ 20 callers
Method
lat
(&self)
src/routing_common/types.rs:344
↓ 18 callers
Method
eq
(&self, other: &Self)
src/hull.rs:18
↓ 17 callers
Function
get_node_for_realtime_feed_id_kvclient
( etcd: &mut etcd_client::KvClient, realtime_feed_id: &str, )
src/lib.rs:333
↓ 17 callers
Function
make_async_pool
()
src/postgres_tools/mod.rs:23
↓ 17 callers
Function
polyline_length_metric
Calculate Euclidean length of a polyline in metric space (x, y).
src/globeflower/geometry_utils.rs:57
↓ 16 callers
Method
from_alpenrose
( self, _: context::Context, chateau_id: String, realtime_feed_id: String,
src/aspen/main.rs:961
↓ 15 callers
Function
generic_number_lookup
( conn: &mut bb8::PooledConnection< '_, diesel_async::pooled_connection::AsyncDieselConnec
src/birch/vehicle_api.rs:26
↓ 15 callers
Function
get_etcd_client
( etcd_connection_ips: &EtcdConnectionIps, etcd_connection_options: &Option<etcd_client::ConnectOption
src/lib.rs:1027
↓ 15 callers
Method
partial_cmp
(&self, other: &Self)
src/edelweiss/query_graph.rs:50
↓ 15 callers
Method
route
Run the RAPTOR algorithm using memory-mapped arrays from Motis-styled structures. This implementation follows "Algorithm 1: RAPTOR" from the original
src/edelweiss/raptor.rs:27
↓ 15 callers
Method
slice
(&self, offset: u64, len: u64)
src/routing_common/ways.rs:434
↓ 14 callers
Function
bincode_serialize
(value: &T)
src/lib.rs:776
↓ 14 callers
Function
fix_background_colour_rgb
(background: Option<RGB<u8>>)
src/maple/gtfs_handlers/colour_correction.rs:7
↓ 12 callers
Function
config
(cfg: &mut web::ServiceConfig)
src/harebell/server.rs:5
↓ 12 callers
Method
pop
(&mut self)
src/routing_common/dijkstra.rs:34
↓ 12 callers
Function
serve_tilejson
( fields: std::collections::BTreeMap<String, String>, name: String, tiles_url: Vec<String>, mi
src/birch/postgis_download.rs:597
↓ 11 callers
Method
lng
(&self)
src/routing_common/types.rs:348
↓ 10 callers
Function
extract_sub_polyline
Extract sub-polyline based on fractional start/end, finding exact metric coordinates.
src/globeflower/geometry_utils.rs:378
↓ 10 callers
Function
fetch_mvt
( sqlx_pool: &sqlx::Pool<sqlx::Postgres>, query_str: String, max_age: u32, )
src/birch/postgis_download.rs:634
↓ 10 callers
Method
insert_client
(&self, addr: SocketAddr, client: AspenRpcClient)
src/aspen/connection_manager.rs:24
↓ 9 callers
Function
datetime_in_service
(service: &CalendarUnified, input_date: chrono::NaiveDate)
src/lib.rs:697
↓ 9 callers
Function
interpolate_along_polyline_metric
Interpolate along polyline in metric space.
src/globeflower/geometry_utils.rs:104
↓ 9 callers
Method
locate_in_envelope
( &self, min_x: f64, min_y: f64, max_x: f64, max_y: f64, )
src/spruce/chateau_rtree.rs:81
↓ 9 callers
Function
parse_comma_separated
(value: &str)
src/catenaryconfig.rs:147
↓ 9 callers
Function
serde_value_to_translated_hashmap
( input: &Option<serde_json::value::Value>, )
src/lib.rs:975
↓ 8 callers
Function
parse_gtfs_rt_message
( bytes: &[u8], )
src/lib.rs:309
↓ 8 callers
Method
partial_cmp
(&self, other: &Self)
src/globeflower/map_matcher.rs:22
↓ 8 callers
Function
remove_agencies
(gtfs: Gtfs, to_delete_agencies: &Vec<String>)
src/maple/gtfs_handlers/remove_agencies.rs:4
↓ 8 callers
Function
route_id_transform
(feed_id: &str, route_id: String)
src/lib.rs:320
↓ 8 callers
Function
route_type_to_int
(input: &RouteType)
src/enum_to_int.rs:18
↓ 7 callers
Method
add_edge
(&mut self, edge: QueryEdge)
src/edelweiss/query_graph.rs:68
↓ 7 callers
Function
ahash_fast_hash
(t: &T)
src/lib.rs:292
↓ 7 callers
Function
bincode_deserialize
(value: &[u8])
src/lib.rs:788
↓ 7 callers
Function
clean_alert_text
Cleans alert text for specific chateaus (metrolinktrains, metro~losangeles). - Removes "Please " prefix and capitalizes the next word - Removes "Alert
src/aspen/alerts_processing.rs:12
↓ 7 callers
Method
get_client
(&self, addr: SocketAddr)
src/aspen/connection_manager.rs:19
↓ 7 callers
Function
is_chateau_active
(active_chateaus: &Arc<RwLock<HashSet<String>>>, chateau_id: &str)
src/spruce/map_coordinator.rs:389
↓ 7 callers
Function
name_shortening_hash_insert_elastic
( h: &mut std::collections::HashMap<String, String>, lang: &language_tags::LanguageTag, translated
src/lib.rs:991
↓ 7 callers
Method
node_positions
(&self)
src/routing_common/ways.rs:451
↓ 7 callers
Function
project_point_to_polyline_metric
Project point to polyline in metric space. Returns (distance_along_polyline, distance_from_polyline, projected_point).
src/globeflower/geometry_utils.rs:72
↓ 7 callers
Method
search
( &self, route_id: &str, trip_id: &str, )
src/birch/departures_shared.rs:649
↓ 6 callers
Function
contains_new_data
( server: &AspenServer, realtime_feed_id: &str, gtfs_rt_type: GtfsRtType, pb_data: &FeedMessag
src/aspen/main.rs:2261
↓ 6 callers
Function
continuous_pickup_drop_off_to_i16
(x: &ContinuousPickupDropOff)
src/maple/gtfs_process.rs:2450
↓ 6 callers
Method
get_vehicle_locations
( self, _: context::Context, chateau_id: String, existing_fasthash_of_routes:
src/aspen/main.rs:1242
↓ 6 callers
Function
gtfs_rt_cleanup
(x: gtfs_realtime::FeedMessage)
src/id_cleanup/mod.rs:28
↓ 6 callers
Function
look_for_vehicle_number
( conn: &mut bb8::PooledConnection< '_, diesel_async::pooled_connection::AsyncDieselConnec
src/birch/vehicle_api.rs:323
↓ 6 callers
Function
make_calendar_structure_from_pg
( services_calendar_lookup_queries_to_perform: Vec<Vec<crate::models::Calendar>>, services_calendar_da
src/lib.rs:891
↓ 6 callers
Function
polyline_length
(coords: &[(f64, f64)])
src/globeflower/geometry_utils.rs:258
↓ 6 callers
Function
save_timestamps
( server: &AspenServer, realtime_feed_id: &str, gtfs_rt_type: GtfsRtType, pb_data: &FeedMessag
src/aspen/main.rs:2239
↓ 6 callers
Function
telecharger_gtfs
Fonction principale pour télécharger le fichier GTFS. Elle retourne les octets (bytes) du fichier en mémoire.
src/alpenrose/custom_rt_feeds/sto_ca.rs:11
↓ 5 callers
Method
build_node_adjacency
(&self, graph: &RenderGraph)
src/harebell/optimizer.rs:874
↓ 5 callers
Function
build_stops_query
(z: u8, x: u32, y: u32, where_clause: &str)
src/birch/postgis_download.rs:655
↓ 5 callers
Function
compute_mean_and_std
(values: &[f64])
src/osm_station_rank_and_clean/main.rs:70
↓ 5 callers
Function
find_closest_stop_time_update
( stop_time_updates: &[CompactStopTimeUpdate], current_time_unix_timestamp: u64, reference_epoch:
src/aspen/stop_time_logic.rs:3
↓ 5 callers
Function
fix_background_colour_rgb_feed_route
( feed_id: &str, background: Option<RGB<u8>>, route: >fs_structures::Route, )
src/maple/gtfs_handlers/colour_correction.rs:18
↓ 5 callers
Method
flush_all
(&mut self)
src/maple/large_gtfs_insertion.rs:294
↓ 5 callers
Method
get_shape
(&self, shape_id: &str)
src/maple/shapes_reader.rs:154
↓ 5 callers
Function
get_shapes_fields
()
src/birch/postgis_download.rs:580
↓ 5 callers
Function
get_stops_fields
()
src/birch/postgis_download.rs:547
↓ 5 callers
Method
is_foot_accessible
(&self)
src/routing_common/ways.rs:27
↓ 5 callers
Function
make_degree_length_as_distance_from_point
(point: &geo::Point, distance_metres: f64)
src/lib.rs:880
↓ 5 callers
Function
mode_match_priority
Get a priority score for mode matching (higher = better match) 0 = no match, 1 = compatible, 2 = exact match
src/maple/osm_station_matching.rs:73
↓ 5 callers
Function
parse_bool
(value: &str)
src/catenaryconfig.rs:139
↓ 5 callers
Function
standardise
(v: f64, mean: f64, std: f64)
src/osm_station_rank_and_clean/main.rs:88
↓ 4 callers
Function
build_shapes_query
( z: u8, x: u32, y: u32, simplification_threshold: f32, where_clause: &str, )
src/birch/postgis_download.rs:693
↓ 4 callers
Method
bus_accessible
(mut self, v: bool)
src/routing_common/ways.rs:217
↓ 4 callers
Method
car_accessible
(mut self, v: bool)
src/routing_common/ways.rs:145
↓ 4 callers
Function
category_to_allowed_route_ids
(category: &CategoryOfRealtimeVehicleData)
src/spruce/map_coordinator.rs:86
↓ 4 callers
Function
chi_shape
Computes the Chi-shape (concave hull) of a set of Geo points. # Arguments `points` - A vector of geo_types::Point (lon, lat). `length_threshold` - Th
src/hull.rs:47
↓ 4 callers
Function
download_and_process_url
( is_v6: bool, )
src/ip_to_location/mod.rs:74
↓ 4 callers
Function
elastic_connect
( server_urls: &[String], )
src/elasticutils/mod.rs:15
↓ 4 callers
Method
foot_accessible
(mut self, v: bool)
src/routing_common/ways.rs:133
↓ 4 callers
Method
for_chateau
(&self, chateau_id: &str)
src/spruce/map_coordinator.rs:376
↓ 4 callers
Function
format_coordinate_precise
(val: f64, zoom: u8)
src/spruce/trajectories.rs:58
↓ 4 callers
Method
get_all_alerts
( self, _: context::Context, chateau_id: String, )
src/aspen/main.rs:1520
↓ 4 callers
Function
gtfs_rt_correct_route_id_string
( x: gtfs_realtime::FeedMessage, realtime_feed_id: &str, )
src/id_cleanup/mod.rs:49
↓ 4 callers
Function
include_only_route_types
( gtfs: Gtfs, route_types: Vec<gtfs_structures::RouteType>, delete_shapes_and_stops: bool, )
src/schedule_filtering/mod.rs:8
↓ 4 callers
Function
is_accessible_car
(t: &OsmTags, is_node: bool)
src/routing_common/extract.rs:188
↓ 4 callers
Method
is_bus_accessible_with_penalty
(&self)
src/routing_common/ways.rs:94
next →
1–100 of 1,097, ranked by callers