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

Add process feedback on tiles-export #14

Open
yohanboniface opened this issue Nov 14, 2014 · 1 comment
Open

Add process feedback on tiles-export #14

yohanboniface opened this issue Nov 14, 2014 · 1 comment

Comments

@yohanboniface
Copy link
Member

At the moment, the only feedback about the process is the number of tiles to be created by zoom.

We need something like an ETA.

@pnorman
Copy link
Contributor

pnorman commented Nov 14, 2014

I have tried really hard to generate progress estimates for tile generation. Within a zoom is possible, but inter-zoom progress estimates suck, because progress rates are very zoom-dependent.

I wrote directions for a saved tile directory with avecado where I had a progress estimate, which reported like this

0: 1/1
1: 4/4
2: 16/16
3: 64/64
4: 256/256
5: 1024/1024
6: 4096/4096
7: 16384/16384
8: 65536/65536
9: 262144/262144
10: 969486/1048576

When I used the higher zoom rates to estimate the total time, I was off by more than an order of magnitude. With 60% of the tiles being the last zoom and nearly all being the last two zooms, that's the only rate that matters, and it is common for rates to vary by an order of magnitude or more between zooms.

If you use an algorithm which traverses zooms before geographic position, then you might get valid rates.

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

No branches or pull requests

2 participants