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
Only render vector tile when there are executor groups #10977
Only render vector tile when there are executor groups #10977
Conversation
20e78a5
to
876485b
Compare
I cannot figure out why CircleCI is not able to run the test suite with this pull request. Giving up for today, maybe someone else can take a look at this. |
Ha, looks like me giving up was enough for CircleCI to behave nicely again ;-) |
876485b
to
7b86a53
Compare
I removed the CI fix, and created a separate pull request for that: #10983. Will rebase when that is merged. |
7b86a53
to
fe10577
Compare
Rebased, all green now. |
I'll see if I can handle this in a more consistent way by changing the |
fe10577
to
29eb314
Compare
Ready for review now, which a much cleaner fix. |
Thanks for any review. |
Do you think there is a place we could throw an error the a user would see? I know we’re not consistent with this kind of thing. I was just pondering this for another case though. |
Or is the right behavior just not to render (maybe I don’t understand the issue). |
The right behavior is not to render, because the tile is not ready for rendering yet. It will be rendered in the next cycle. That's the same in hybrid or image mode. The only difference is that That said, the whole vector and vector tile rendering code could use a refactoring or rewrite, i.e. simplify executor groups, improve decluttering etc. - but I guess that effort will have to wait a bit. |
This pull request prevents errors when there is no executor group for a tile. This can happen when a vector tile layer is configured with
renderMode: vector
and the source is being used by more than one layer.