-
Notifications
You must be signed in to change notification settings - Fork 802
feat(mvt): add attribute controller to MVT requests #5732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Removed example wget command and redundant note about placeholder encoding.
I like the idea! But could you please target this PR against my branch? 😄 Otherwise it is difficult to understand what was changed 😄 |
|
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. |
|
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. |
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_classmostly)verbose=trueas a shortcut to manuallyincludeing all relevant debugging attributes via the filter