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
Method
new
(pool: SyncPool, region_config: &RegionConfig)
src/globeflower/gtfs_loader.rs:44
Method
new
()
src/globeflower/osm_loader.rs:419
Method
new
()
src/globeflower/restrictions.rs:26
Method
new
(graph: &'a mut SupportGraph, config: StationConfig)
src/globeflower/station.rs:53
Method
new
(timetable: ZeroCopyTimetable<'a>)
src/edelweiss/raptor.rs:21
Method
new
(pool: CatenaryPostgresPool)
src/edelweiss/hydrator.rs:12
Method
new
()
src/edelweiss/query_graph.rs:62
Method
new
()
src/edelweiss/zero_copy_loader.rs:19
Method
new
(graph: &'a GraphManager)
src/edelweiss/router.rs:11
Method
new
(shards: Vec<Addr<BulkFetchCoordinator>>)
src/spruce/map_coordinator.rs:365
Method
new
( pool: Arc<CatenaryPostgresPool>, etcd_connection_ips: Arc<EtcdConnectionIps>, etcd_c
src/spruce/trip_websocket.rs:77
Method
new
(alerts: &BTreeMap<String, catenary::aspen_dataset::AspenisedAlert>)
src/spruce/departures_shared.rs:653
Method
new
(data: &'a [u8])
src/routing_common/timetable.rs:126
Method
new
()
src/routing_common/types.rs:206
Method
new
(n_buckets: usize)
src/routing_common/dijkstra.rs:18
Method
new
()
src/routing_common/ways.rs:129
Method
new
(graph: Arc<LoadedGraph>)
src/routing_common/osm_router.rs:15
Method
new
(base_dir: impl AsRef<Path>)
src/routing_common/graph_loader.rs:49
Method
node_cost
(params: &FootParams, props: &NodeProperties)
src/routing_common/profiles.rs:98
Method
node_is_restricted
(&self)
src/routing_common/ways.rs:459
Method
node_restrictions
(&self)
src/routing_common/ways.rs:510
Function
number_of_seconds_to_hhmmss
(input: u32)
src/lib.rs:856
Function
openrailwaymap_proxy
( path: actix_web::web::Path<String>, client: actix_web::web::Data<Arc<reqwest::Client>>, )
src/birch/openrailwaymap_proxy.rs:10
Function
option_i32_to_occupancy_status
( occupancy_status: &Option<i32>, )
src/aspen_dataset.rs:526
Function
option_i32_to_stop_time_schedule_relationship
( schedule_relationship: &Option<i32>, )
src/aspen_dataset.rs:644
Function
osm_station_lookup
( req: HttpRequest, query: Query<OsmStationLookupQuery>, pool: web::Data<Arc<CatenaryPostgresPool>
src/birch/osm_station_lookup.rs:58
Function
osm_station_preview
( req: HttpRequest, pool: web::Data<Arc<CatenaryPostgresPool>>, query: Query<OsmStationPreviewPara
src/birch/osm_station_preview.rs:50
Function
osm_station_search
( _req: HttpRequest, query: Query<OsmStationSearchQuery>, arc_conn_pool: web::Data<Arc<CatenaryPos
src/birch/osm_station_search.rs:46
Function
osm_stations
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:758
Function
osm_stations_meta
(req: HttpRequest)
src/birch/postgis_download.rs:744
Function
osm_stations_ranked
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:873
Function
osm_stations_ranked_meta
(req: HttpRequest)
src/birch/postgis_download.rs:859
Function
other_stops
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:184
Function
other_stops_meta
(req: HttpRequest)
src/birch/postgis_download.rs:207
Function
page_to_gtfs_rt_alerts
(page: RawAlertDetailsPage)
src/custom_alerts/metrolink_alerts.rs:531
Function
parse_protobuf_message
( bytes: &[u8], )
src/gtfs_rt_handlers/mod.rs:1
Method
parse_pt_node
(node: &osmpbfreader::Node)
src/globeflower/osm_loader.rs:477
Method
parse_rail_way
Parse a way into an OsmRailWay
src/globeflower/osm_loader.rs:180
Method
partial_cmp
(&self, other: &Self)
src/hull.rs:24
Method
pass1_collect_ids
Pass 1: Scan PBF for rail ways and collect their IDs and referenced node IDs
src/globeflower/osm_loader.rs:98
Method
pass2_load_data
Pass 2: Load node coordinates and way details
src/globeflower/osm_loader.rs:121
Function
pickup_dropoff_to_i16
(x: >fs_structures::PickupDropOffType)
src/enum_to_int.rs:51
Function
polygon_geo_to_diesel
( polygon_geo: geo::Polygon, )
src/postgis_to_diesel.rs:5
Function
polyline_bearing
(coords: &[(f64, f64)])
src/globeflower/geometry_utils.rs:302
Method
postgis_envelope
Get the bounding box as a PostGIS-compatible ST_MakeEnvelope string Format: (xmin, ymin, xmax, ymax, srid)
src/globeflower/regions.rs:144
Method
project_to_tile
(lon: f64, lat: f64, z: u8, x: u32, y: u32, extent: f64)
src/harebell/tile_gen.rs:364
Function
protobuf_to_frequency
(frequency: &GtfsFrequencyProto)
src/lib.rs:252
Function
proxy_for_mapbox_terrain_tiles
( path: web::Path<(u8, u32, u32)>, req: HttpRequest, )
src/birch/terrain_tiles_proxy.rs:122
Function
proxy_for_maptiler_coutours_tiles
( path: web::Path<(u8, u32, u32)>, req: HttpRequest, )
src/birch/terrain_tiles_proxy.rs:65
Function
proxy_for_maptiler_terrain_tiles
( path: web::Path<(u8, u32, u32)>, req: HttpRequest, )
src/birch/terrain_tiles_proxy.rs:8
Function
proxy_for_watchduty_tiles
( path: web::Path<(u8, u32, u32)>, _req: HttpRequest, )
src/birch/server.rs:1107
Method
proxy_request
Execute a request with automatic fallback to proxied clients. `build_request` is called each attempt to produce a fresh `reqwest::RequestBuilder` fro
src/proxy_pool.rs:117
Method
proxy_urls
(&self)
src/proxy_pool.rs:99
Method
pt_dist
(p1: &(f64, f64), p2: &(f64, f64))
src/globeflower/corridor.rs:536
Function
query_stops_preview
( req: HttpRequest, pool: web::Data<Arc<CatenaryPostgresPool>>, // etcd_connection_ips: web::Data<
src/birch/stop_preview.rs:48
Function
rail_mode_to_gtfs_types
Convert RailMode to compatible GTFS route types
src/globeflower/gtfs_loader.rs:229
Function
rail_stops
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:147
Function
rail_stops_meta
(req: HttpRequest)
src/birch/postgis_download.rs:170
Function
remove_transloc_prefix
(gtfs_uncompressed_temp_storage: &str, feed_id: &str)
src/maple/gtfs_handlers/flatten.rs:112
Method
reset
(&mut self)
src/routing_common/dijkstra.rs:102
Function
robots
(req: actix_web::HttpRequest)
src/birch/server.rs:160
Function
robots
(req: HttpRequest)
src/spruce/http-server.rs:53
Function
rough_hash_of_gtfs_rt
(input: >fs_realtime::FeedMessage)
src/gtfs_rt_rough_hash/mod.rs:369
Function
route
High-level routing function. Finds the shortest path between two nodes using the given profile.
src/routing_common/dijkstra.rs:214
Method
route
( self, _ctx: tarpc::context::Context, req: api::RoutingRequest, )
src/edelweiss/main.rs:42
Method
route
(&self, req: &RoutingRequest)
src/edelweiss/router.rs:15
Method
route
(&self, req: &RoutingRequest)
src/routing_common/osm_router.rs:19
Function
route_info
( query: web::Query<QueryRouteInfo>, etcd_connection_options: web::Data<Arc<Option<etcd_client::Connec
src/birch/route_info.rs:65
Function
route_info_v2
( query: web::Query<QueryRouteInfo>, etcd_connection_options: web::Data<Arc<Option<etcd_client::Connec
src/birch/route_info.rs:614
Method
route_name
(&self)
src/routing_common/api.rs:219
Function
routesofchateau
( pool: web::Data<Arc<CatenaryPostgresPool>>, path: web::Path<String>, req: HttpRequest, )
src/birch/server.rs:244
Function
routesofchateau
( pool: web::Data<Arc<CatenaryPostgresPool>>, path: web::Path<String>, req: HttpRequest, )
src/birch/agency_fetch.rs:2
Function
routesofchateauwithagency
( pool: web::Data<Arc<CatenaryPostgresPool>>, path: web::Path<String>, params: web::Json<RouteFetc
src/birch/server.rs:346
Function
routesofchateauwithagencyv2
( pool: web::Data<Arc<CatenaryPostgresPool>>, params: web::Json<RouteFetchParamsV2>, req: HttpRequ
src/birch/server.rs:277
Function
rt_stop_matches_scheduled
Checks if an RT stop_id matches a scheduled stop_id, accounting for parent-child relationships and underscore-suffixed patterns. This handles cases l
src/stop_matching.rs:12
Function
rt_stop_matches_scheduled
Checks if an RT stop_id matches a scheduled stop_id, accounting for parent-child relationships and underscore-suffixed patterns. This handles cases l
src/birch/stop_matching.rs:12
Function
sanitize_agency_id
(agency_id: &str)
src/maple/large_gtfs_insertion.rs:49
Function
save_bincode
Generic helper to save any Serde-compatible struct to a file using bincode.
src/routing_common/transit_graph.rs:33
Function
schedule_relationship_to_u8
( schedule_relationship: &AspenisedTripScheduleRelationship, )
src/aspen_dataset.rs:580
Method
segment_index
Extract segment index within the way
src/globeflower/osm_types.rs:156
Function
set_realtime_key
( pool: web::Data<Arc<CatenaryPostgresPool>>, req: HttpRequest, feed_id: web::Path<String>, in
src/birch/api_key_management.rs:68
Method
set_thread_pool_size
Set the thread pool size for parallel operations. This affects all subsequent parallel tile generation calls. Note: This function should be called be
src/harebell/tile_gen.rs:1111
Function
shapes_bus
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:427
Function
shapes_bus_meta
(req: HttpRequest)
src/birch/postgis_download.rs:534
Function
shapes_ferry
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:359
Function
shapes_ferry_meta
(req: HttpRequest)
src/birch/postgis_download.rs:465
Function
shapes_intercity_rail
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:262
Function
shapes_intercity_rail_meta
(req: HttpRequest)
src/birch/postgis_download.rs:493
Function
shapes_local_rail
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:390
Function
shapes_local_rail_meta
(req: HttpRequest)
src/birch/postgis_download.rs:515
Function
shapes_not_bus_meta
(req: HttpRequest)
src/birch/postgis_download.rs:479
Method
simplify_coords
Simplify a coordinate vector using Douglas-Peucker algorithm. This reduces the number of points while preserving the overall shape.
src/harebell/tile_gen.rs:449
Function
single_elastic_connect
( server_url: &str, )
src/elasticutils/mod.rs:42
Function
size_bbox_zoom_birch
( query_bbox_zoom: web::Query<QueryBboxZoom>, _req: HttpRequest, )
src/birch/server.rs:1081
Method
source_way
Extract source way ID
src/globeflower/osm_types.rs:151
Function
spawn_pasque_client_from_ip
( addr: &std::net::SocketAddr, )
src/pasque/lib.rs:29
Method
start_stop_name
(&self)
src/routing_common/api.rs:233
Method
start_time
(&self)
src/routing_common/api.rs:142
Method
started
(&mut self, ctx: &mut Self::Context)
src/spruce/map_coordinator.rs:744
Method
started
(&mut self, ctx: &mut Self::Context)
src/spruce/trip_websocket.rs:851
← previous
next →
901–1,000 of 1,097, ranked by callers