Skip to content

Conversation

@nilsnolde
Copy link
Member

@nilsnolde nilsnolde commented Nov 21, 2025

based on #5663

so far the new MVT endpoint is mostly good for debugging, we send all kinds of attributes, the vast majority hardly relevant for most people, and thus bloating tile size for little benefit.

this PR adds support for:

  • filters (same as for e.g. /trace_attributes), by default we'll only return styling-relevant attributes (i.e. tile_level, road_class mostly)
  • verbose=true as a shortcut to manually includeing all relevant debugging attributes via the filter

@nilsnolde nilsnolde marked this pull request as draft November 21, 2025 15:49
@SiarheiFedartsou
Copy link
Member

early feedback (on the idea, code not until the base PR is merged:)) is welcome! wdyt @SiarheiFedartsou ?

I like the idea! But could you please target this PR against my branch? 😄 Otherwise it is difficult to understand what was changed 😄

@nilsnolde
Copy link
Member Author

Yeah I figured this'll be a future PR after merging the other one. But if it'll be easy to understand in the end I'll probably end up targeting it at your branch.

@nilsnolde
Copy link
Member Author

yeah, I think the logic of your current PR is easier to understand. this adds quite some more complexity with the AttributeController. let's have the other one reviewed & merged first, it'll be easier to understand IMO.

@nilsnolde nilsnolde mentioned this pull request Dec 4, 2025
@nilsnolde nilsnolde marked this pull request as ready for review December 4, 2025 21:21
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.

3 participants