Skip to content

Conversation

@DIDONAX
Copy link
Contributor

@DIDONAX DIDONAX commented Nov 20, 2025

fixes #1035

  • Routed transfers without osr_footpath
  • Avoid inclines without loaded elevation
  • Adapt selectable ranges in UI to configured limits: ( onetoall_max_travel_minutes/ max preTransit/postTransit/directTime)

openapi.yaml Outdated
- lat
- lon
- zoom
- routeFootPath
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hasElevation is missing (doesn't really matter, but for completeness)

openapi.yaml Outdated
hasElevation:
description: true if elevation is loaded
type: boolean
routeFootPath:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think routedTransfersAvailable would be a better name, since this is really only for intermediate transfers, pre and post transit is always available when osm is loaded. For the config.yml field street_routing there should be an additional field e.g. streetRoutingAvailable that removes all settings after the maximum number of transfers in the advanced settings (first/last/direct/elevation). For consistency, then rename to elevationAvailable (or everything with has...)

Maybe also extend the description of the initial endpoint to better explain what these values are about.

}
}}
/>
{#if routeFootPath}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also encompass wheelchair below (because this in turn is only selectable if routedTransfers are enabled). Alternative: disable instead of hide

Comment on lines 25 to 28
maxPrePostTransitTimeLimit,
maxDirectTimeLimit,
hasElevation,
routeFootPath,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe put this into an object so that we don't have to pass around 4-5 values everywhere?

openapi.yaml Outdated
description: enable routing footpaths
type: boolean
maxTravelTimeLimit:
description: limit for maxTravelTime API param
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

specify that this applies to onetoall only (at least in the description, maybe also in the name of the field?)

@felixguendling
Copy link
Member

Eventually, the routed transfers will be available per profile (car, bike, wheelchair, baby buggy, etc etc).
#982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reflect configured capabilities and limits of server in UI

3 participants