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

feature/clustering #26

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feature/clustering #26

wants to merge 1 commit into from

Conversation

tzinckgraf
Copy link
Contributor

Added a clustering feature to the tile generator.
Tiles will be generated in 3 pieces. The outer zoom is one cluster / city / tile, the middle zoom is regular clustering, and the inner zoom has no clustering, but instead shows all points.

This is a WIP. The outer layer should actually be a geojson layer so that we can cluster the clusters. The inner layer needs more zoom levels as it cuts off at 15.

As we are using mbtiles and geojson, we can combine the middle and inner mbtiles into one big mbtile, then we can combine the outer zoom at one level to create a geojson of the features at 1 / city.

This was tested with tippecanoe v2.23.0

Added a clustering feature to the tile generator.
Tiles will be generated in 3 pieces. The outer zoom is one cluster /
city / tile, the middle zoom is regular clustering, and the inner zoom
has no clustering, but instead shows all points.

This is a WIP. The outer layer should actually be a geojson layer so
that we can cluster the clusters. The inner layer needs more zoom levels
as it cuts off at 15.

As we are using mbtiles and geojson, we can combine the middle and inner
mbtiles into one big mbtile, then we can combine the outer zoom at one
level to create a geojson of the features at 1 / city.

This was tested with tippecanoe v2.23.0
@zoobot
Copy link
Member

zoobot commented Jul 27, 2023

@tzinckgraf Are you interested in working on this anymore or should we re-assign? Thanks!
What still needs to get done on this?

@tzinckgraf
Copy link
Contributor Author

Hey @zoobot, I apologize, I won't have the bandwidth for at least another month. You can unassign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Help Wanted
Development

Successfully merging this pull request may close these issues.

2 participants