MCPcopy Create free account

hub / github.com/catenarytransit/catenary-backend / functions

Functions1,097 in github.com/catenarytransit/catenary-backend

Methodnew
(pool: SyncPool, region_config: &RegionConfig)
src/globeflower/gtfs_loader.rs:44
Methodnew
()
src/globeflower/osm_loader.rs:419
Methodnew
()
src/globeflower/restrictions.rs:26
Methodnew
(graph: &'a mut SupportGraph, config: StationConfig)
src/globeflower/station.rs:53
Methodnew
(timetable: ZeroCopyTimetable<'a>)
src/edelweiss/raptor.rs:21
Methodnew
(pool: CatenaryPostgresPool)
src/edelweiss/hydrator.rs:12
Methodnew
()
src/edelweiss/query_graph.rs:62
Methodnew
()
src/edelweiss/zero_copy_loader.rs:19
Methodnew
(graph: &'a GraphManager)
src/edelweiss/router.rs:11
Methodnew
(shards: Vec<Addr<BulkFetchCoordinator>>)
src/spruce/map_coordinator.rs:365
Methodnew
( pool: Arc<CatenaryPostgresPool>, etcd_connection_ips: Arc<EtcdConnectionIps>, etcd_c
src/spruce/trip_websocket.rs:77
Methodnew
(alerts: &BTreeMap<String, catenary::aspen_dataset::AspenisedAlert>)
src/spruce/departures_shared.rs:653
Methodnew
(data: &'a [u8])
src/routing_common/timetable.rs:126
Methodnew
()
src/routing_common/types.rs:206
Methodnew
(n_buckets: usize)
src/routing_common/dijkstra.rs:18
Methodnew
()
src/routing_common/ways.rs:129
Methodnew
(graph: Arc<LoadedGraph>)
src/routing_common/osm_router.rs:15
Methodnew
(base_dir: impl AsRef<Path>)
src/routing_common/graph_loader.rs:49
Methodnode_cost
(params: &FootParams, props: &NodeProperties)
src/routing_common/profiles.rs:98
Methodnode_is_restricted
(&self)
src/routing_common/ways.rs:459
Methodnode_restrictions
(&self)
src/routing_common/ways.rs:510
Functionnumber_of_seconds_to_hhmmss
(input: u32)
src/lib.rs:856
Functionopenrailwaymap_proxy
( path: actix_web::web::Path<String>, client: actix_web::web::Data<Arc<reqwest::Client>>, )
src/birch/openrailwaymap_proxy.rs:10
Functionoption_i32_to_occupancy_status
( occupancy_status: &Option<i32>, )
src/aspen_dataset.rs:526
Functionoption_i32_to_stop_time_schedule_relationship
( schedule_relationship: &Option<i32>, )
src/aspen_dataset.rs:644
Functionosm_station_lookup
( req: HttpRequest, query: Query<OsmStationLookupQuery>, pool: web::Data<Arc<CatenaryPostgresPool>
src/birch/osm_station_lookup.rs:58
Functionosm_station_preview
( req: HttpRequest, pool: web::Data<Arc<CatenaryPostgresPool>>, query: Query<OsmStationPreviewPara
src/birch/osm_station_preview.rs:50
Functionosm_station_search
( _req: HttpRequest, query: Query<OsmStationSearchQuery>, arc_conn_pool: web::Data<Arc<CatenaryPos
src/birch/osm_station_search.rs:46
Functionosm_stations
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:758
Functionosm_stations_meta
(req: HttpRequest)
src/birch/postgis_download.rs:744
Functionosm_stations_ranked
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:873
Functionosm_stations_ranked_meta
(req: HttpRequest)
src/birch/postgis_download.rs:859
Functionother_stops
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:184
Functionother_stops_meta
(req: HttpRequest)
src/birch/postgis_download.rs:207
Functionpage_to_gtfs_rt_alerts
(page: RawAlertDetailsPage)
src/custom_alerts/metrolink_alerts.rs:531
Functionparse_protobuf_message
( bytes: &[u8], )
src/gtfs_rt_handlers/mod.rs:1
Methodparse_pt_node
(node: &osmpbfreader::Node)
src/globeflower/osm_loader.rs:477
Methodparse_rail_way
Parse a way into an OsmRailWay
src/globeflower/osm_loader.rs:180
Methodpartial_cmp
(&self, other: &Self)
src/hull.rs:24
Methodpass1_collect_ids
Pass 1: Scan PBF for rail ways and collect their IDs and referenced node IDs
src/globeflower/osm_loader.rs:98
Methodpass2_load_data
Pass 2: Load node coordinates and way details
src/globeflower/osm_loader.rs:121
Functionpickup_dropoff_to_i16
(x: &gtfs_structures::PickupDropOffType)
src/enum_to_int.rs:51
Functionpolygon_geo_to_diesel
( polygon_geo: geo::Polygon, )
src/postgis_to_diesel.rs:5
Functionpolyline_bearing
(coords: &[(f64, f64)])
src/globeflower/geometry_utils.rs:302
Methodpostgis_envelope
Get the bounding box as a PostGIS-compatible ST_MakeEnvelope string Format: (xmin, ymin, xmax, ymax, srid)
src/globeflower/regions.rs:144
Methodproject_to_tile
(lon: f64, lat: f64, z: u8, x: u32, y: u32, extent: f64)
src/harebell/tile_gen.rs:364
Functionprotobuf_to_frequency
(frequency: &GtfsFrequencyProto)
src/lib.rs:252
Functionproxy_for_mapbox_terrain_tiles
( path: web::Path<(u8, u32, u32)>, req: HttpRequest, )
src/birch/terrain_tiles_proxy.rs:122
Functionproxy_for_maptiler_coutours_tiles
( path: web::Path<(u8, u32, u32)>, req: HttpRequest, )
src/birch/terrain_tiles_proxy.rs:65
Functionproxy_for_maptiler_terrain_tiles
( path: web::Path<(u8, u32, u32)>, req: HttpRequest, )
src/birch/terrain_tiles_proxy.rs:8
Functionproxy_for_watchduty_tiles
( path: web::Path<(u8, u32, u32)>, _req: HttpRequest, )
src/birch/server.rs:1107
Methodproxy_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
Methodproxy_urls
(&self)
src/proxy_pool.rs:99
Methodpt_dist
(p1: &(f64, f64), p2: &(f64, f64))
src/globeflower/corridor.rs:536
Functionquery_stops_preview
( req: HttpRequest, pool: web::Data<Arc<CatenaryPostgresPool>>, // etcd_connection_ips: web::Data<
src/birch/stop_preview.rs:48
Functionrail_mode_to_gtfs_types
Convert RailMode to compatible GTFS route types
src/globeflower/gtfs_loader.rs:229
Functionrail_stops
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:147
Functionrail_stops_meta
(req: HttpRequest)
src/birch/postgis_download.rs:170
Functionremove_transloc_prefix
(gtfs_uncompressed_temp_storage: &str, feed_id: &str)
src/maple/gtfs_handlers/flatten.rs:112
Methodreset
(&mut self)
src/routing_common/dijkstra.rs:102
Functionrobots
(req: actix_web::HttpRequest)
src/birch/server.rs:160
Functionrobots
(req: HttpRequest)
src/spruce/http-server.rs:53
Functionrough_hash_of_gtfs_rt
(input: &gtfs_realtime::FeedMessage)
src/gtfs_rt_rough_hash/mod.rs:369
Functionroute
High-level routing function. Finds the shortest path between two nodes using the given profile.
src/routing_common/dijkstra.rs:214
Methodroute
( self, _ctx: tarpc::context::Context, req: api::RoutingRequest, )
src/edelweiss/main.rs:42
Methodroute
(&self, req: &RoutingRequest)
src/edelweiss/router.rs:15
Methodroute
(&self, req: &RoutingRequest)
src/routing_common/osm_router.rs:19
Functionroute_info
( query: web::Query<QueryRouteInfo>, etcd_connection_options: web::Data<Arc<Option<etcd_client::Connec
src/birch/route_info.rs:65
Functionroute_info_v2
( query: web::Query<QueryRouteInfo>, etcd_connection_options: web::Data<Arc<Option<etcd_client::Connec
src/birch/route_info.rs:614
Methodroute_name
(&self)
src/routing_common/api.rs:219
Functionroutesofchateau
( pool: web::Data<Arc<CatenaryPostgresPool>>, path: web::Path<String>, req: HttpRequest, )
src/birch/server.rs:244
Functionroutesofchateau
( pool: web::Data<Arc<CatenaryPostgresPool>>, path: web::Path<String>, req: HttpRequest, )
src/birch/agency_fetch.rs:2
Functionroutesofchateauwithagency
( pool: web::Data<Arc<CatenaryPostgresPool>>, path: web::Path<String>, params: web::Json<RouteFetc
src/birch/server.rs:346
Functionroutesofchateauwithagencyv2
( pool: web::Data<Arc<CatenaryPostgresPool>>, params: web::Json<RouteFetchParamsV2>, req: HttpRequ
src/birch/server.rs:277
Functionrt_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
Functionrt_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
Functionsanitize_agency_id
(agency_id: &str)
src/maple/large_gtfs_insertion.rs:49
Functionsave_bincode
Generic helper to save any Serde-compatible struct to a file using bincode.
src/routing_common/transit_graph.rs:33
Functionschedule_relationship_to_u8
( schedule_relationship: &AspenisedTripScheduleRelationship, )
src/aspen_dataset.rs:580
Methodsegment_index
Extract segment index within the way
src/globeflower/osm_types.rs:156
Functionset_realtime_key
( pool: web::Data<Arc<CatenaryPostgresPool>>, req: HttpRequest, feed_id: web::Path<String>, in
src/birch/api_key_management.rs:68
Methodset_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
Functionshapes_bus
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:427
Functionshapes_bus_meta
(req: HttpRequest)
src/birch/postgis_download.rs:534
Functionshapes_ferry
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:359
Functionshapes_ferry_meta
(req: HttpRequest)
src/birch/postgis_download.rs:465
Functionshapes_intercity_rail
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:262
Functionshapes_intercity_rail_meta
(req: HttpRequest)
src/birch/postgis_download.rs:493
Functionshapes_local_rail
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:390
Functionshapes_local_rail_meta
(req: HttpRequest)
src/birch/postgis_download.rs:515
Functionshapes_not_bus_meta
(req: HttpRequest)
src/birch/postgis_download.rs:479
Methodsimplify_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
Functionsingle_elastic_connect
( server_url: &str, )
src/elasticutils/mod.rs:42
Functionsize_bbox_zoom_birch
( query_bbox_zoom: web::Query<QueryBboxZoom>, _req: HttpRequest, )
src/birch/server.rs:1081
Methodsource_way
Extract source way ID
src/globeflower/osm_types.rs:151
Functionspawn_pasque_client_from_ip
( addr: &std::net::SocketAddr, )
src/pasque/lib.rs:29
Methodstart_stop_name
(&self)
src/routing_common/api.rs:233
Methodstart_time
(&self)
src/routing_common/api.rs:142
Methodstarted
(&mut self, ctx: &mut Self::Context)
src/spruce/map_coordinator.rs:744
Methodstarted
(&mut self, ctx: &mut Self::Context)
src/spruce/trip_websocket.rs:851
← previousnext →901–1,000 of 1,097, ranked by callers