Skip to content

Conversation

TheMarex
Copy link
Member

@TheMarex TheMarex commented Oct 2, 2025

Issue

Right now it is kind of a pain to get the geometry by leg. You can request the steps and accumulate it, but that is annoying if you are not interested in the instructions. With hindsight that wasn't the greatest API decision, alas better fix it late then never. In general it doesn't make sense to have it by route and by leg at the same time, so it seems appropriate to extend the overview option for triggering the new behavior.

This is still work-in-progress, I need to spend some time to make sure the flatbuffer stuff isn't broken by this and add tests.

Implementation

  • Add a new overview=by_legs parameter that will add the (unsimplified) geometry by leg.
  • Add support to flatbuffer API

Tasklist

TheMarex and others added 2 commits October 2, 2025 15:07
- Update HTTP API docs for route, match, and trip services
- Update Node.js API docs for route, match, and trip methods
- Update test error messages to include by_legs option

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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