Replies: 1 comment 2 replies
-
To be honest, sounds like you need a database and not a PMTiles file... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we have a point file containing several million points and created a pmtiles file with Tippecanoe from it. In our Maplibre React dashboard, we now want to be able to filter the points on the map using an id stored as a feature property. We can do this using an opacity filter in Maplibre based on a feature property stored. However, if a given property only has a few points, at low zoom levels, the map will generally be empty because the filter only applies to features shown at the current zoom level and the filtered features are dropped due to the Tippecanoe algorithm. We can use the --accumulate-attribute parameter in Tippecanoe to add the ids of the features that are dropped to the features kept at the lower zoom levels and then filter based on that. Then the file becomes very big and the navigation is much slower, and sometimes we have a long list of ids to filter on.
So, to make a long story short, has anyone found an efficient way of filtering point features from a pmtiles file while accounting for the dropped features at all zoom levels ?
Beta Was this translation helpful? Give feedback.
All reactions