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

Remove duplicate features in different vector tile sources #537

Open
safe-bug opened this issue Apr 30, 2023 · 1 comment
Open

Remove duplicate features in different vector tile sources #537

safe-bug opened this issue Apr 30, 2023 · 1 comment

Comments

@safe-bug
Copy link

Hello,

I have two vector tile sources, with one having a higher priority and being displayed on top of the other. I am seeking a solution to remove all features (points) that are present on the higher level tile from the lower level tile dynamically, since the higher level data changes periodically. How can I do this?

Thanks

@mtehver
Copy link
Contributor

mtehver commented May 9, 2023

Hi. I see two options here:

If you simply want to hide features while rendering, you can perhaps use 'MarkerSymbolizer' with 'allow-overlap: false' attribute. The problem here is that this hides all overlapping points, even when they are not the same.

The second options is to simply update features of your vector tile data sources to ensure that there are no overlapping points.

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

2 participants