Skip to content

Improve parking profiles - #126

Draft
MichaelKutzner wants to merge 33 commits into
motis-project:masterfrom
MichaelKutzner:parking_profiles
Draft

Improve parking profiles#126
MichaelKutzner wants to merge 33 commits into
motis-project:masterfrom
MichaelKutzner:parking_profiles

Conversation

@MichaelKutzner

@MichaelKutzner MichaelKutzner commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

DRAFT

This improves the parking profile by connecting parking areas with the street and foot network.

Common issues

  • Isolated parking areas, not connected with any other way
  • Parking areas, connected with foot network only

Status

  • Connecting isolated parking areas and small components
  • Routing using the newly added edges

TODO

  • Identify partially connected parking areas
  • Use common structure to support multiple use cases, like GBFS and additional data sources
  • Improve connecting paths
  • TODO
  • Remove debug code

Embed parking edge details into 'car_parking::node'. This breaks the
expected structure and (still) causes some unexpected results.
For now only forward search is implemented.

Reasons for embedding:
- Reconstruction does not require additional, probably expensive search
- Does not increase structs

Reasons for incomplete implementation:
- Breaks 'node' structure
- More difficult to handle
Reverts most of previous changes in favor of a simpler encoding.
This avoids possible issues with strongly modifying car_parking nodes.
As parking edges can connect different components, routing could use
matches of different compenents for a more reasonable result.
This should not be necessary in general. But it's noticable, when
routing within an isolated component. Or when debug mode is enabled.
Alternative approach: Change compent index when isolated areas are
connected. This could lead to other side effects as well.
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.

1 participant