Skip to content

Commit

Permalink
[travelmux] OTP's absolute_direction is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed May 3, 2024
1 parent 0862207 commit 0998029
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose-with-transit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ services:
networks:
- otp_backend
# ports:
# - "9001:8000"
# - "9002:8000"
travelmux:
image: ghcr.io/headwaymaps/travelmux:latest
restart: always
Expand Down Expand Up @@ -89,7 +89,7 @@ services:
valhalla-init:
condition: service_completed_successfully
# ports:
# - "9002:8002"
# - "9001:8002"
frontend-init:
image: ghcr.io/headwaymaps/headway-init:latest
env_file: .env
Expand Down
4 changes: 2 additions & 2 deletions services/travelmux/src/otp/otp_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ pub struct Step {
pub relative_direction: RelativeDirection,
/// The name of the street.
pub street_name: String,
/// The absolute direction of this step.
pub absolute_direction: AbsoluteDirection,
/// The absolute (compass) direction of this step.
pub absolute_direction: Option<AbsoluteDirection>,
/// When exiting a highway or traffic circle, the exit name/number.
pub exit: Option<String>,
/// Indicates whether or not a street changes direction at an intersection.
Expand Down

0 comments on commit 0998029

Please sign in to comment.