Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[travelmux] OTP's absolute_direction is optional #349

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading