Skip to content
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

Dropping features for layer_size by attribute #22

Open
varna opened this issue Jul 21, 2022 · 0 comments
Open

Dropping features for layer_size by attribute #22

varna opened this issue Jul 21, 2022 · 0 comments

Comments

@varna
Copy link

varna commented Jul 21, 2022

Hello,

When tile layer_size is reached (default 1250KB and max 2500KB) some features are dropped.
Is it possible to create a mts-recipe.json that can control which features are dropped?
I know that you can use limit the number of features with an expression, but it requires you to define a number of features instead of size (in KB).
Would it be possible to create an expression that would drop features when reaching the size limit?

i.e.
Drop features who have smaller values in attribute called "area".

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

No branches or pull requests

1 participant