Skip to content

Conversation

@marecabo
Copy link

@marecabo marecabo commented Oct 4, 2025

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing [someone needs to trigger them]

Description

This fixes Street Snapping when editing shapes in the GTFS editor.

When I tried it with a local Graphhopper instance before, I got the error message "bad request: profile parameter required" from the routing request.

At some point, Graphhopper switched from a vehicle parameter to profile, see graphhopper/graphhopper#1934 and https://github.com/graphhopper/graphhopper/blob/master/CHANGELOG.md#70-14-mar-2023

There is already a PR #948 for updating this code, but it has not been edited since over two years. This edit aims to be minimally invasive to restore the routing functionality.

Thsi fixes Street Snapping when editing shapes in the GTFS editor.

When I tried it with a local Graphhopper instance before, I got the error message "bad request: profile parameter required" from the routing request.

At some point, Graphhopper switched from a `vehicle` parameter to `profile`, see graphhopper/graphhopper#1934.
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