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

Simplify geometries only at specific zoom levels (13-14) #284

Open
mtravis opened this issue Oct 19, 2024 · 2 comments
Open

Simplify geometries only at specific zoom levels (13-14) #284

mtravis opened this issue Oct 19, 2024 · 2 comments

Comments

@mtravis
Copy link

mtravis commented Oct 19, 2024

I have an issue where I'm processing a lot of data, around 4 billion features, and it's taken an awful long time to get past 1/0/0 in the part of the process that I believe is building the mbtiles. Is this because it's simplifying the geometries.

I'm using this command:

tippecanoe -f -o my.mbtiles *.fgb -l my_layer --coalesce-densest-as-needed -Z13 -z14 -t /data-tmp

Should I use --simplify-only-low-zooms here? What is considered low zooms?

Are there other flags that would I could use here?

@e-n-f
Copy link
Collaborator

e-n-f commented Oct 21, 2024

The low zooms for this purpose are any zoom levels other that the maxzoom.

It is probably spending all of the time trying to figure out how to coalesce features to reduce the tile size. Is it producing any output saying what it is doing?

Is raising the tile size limit and feature count limit a possibility for you?

@mtravis
Copy link
Author

mtravis commented Oct 23, 2024

Thanks for getting back to me. It was taking a long time to coalesce features. I can try raising the tile size limit next time.

I'd heard that can effect performance but possibly not if we use PMTiles?

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

No branches or pull requests

2 participants