ItsLastDay / StackOverflow_Map

A project for creating 2D visualization of StackOverflow tags.
GNU General Public License v3.0
3 stars 1 forks source link

Perform on-the-fly generation of tiles #5

Open ItsLastDay opened 7 years ago

ItsLastDay commented 7 years ago

The OpenStreetMap project gives statistics about their tile view count here. They have observed that only a small portion of all tiles are ever viewed for large zoom values. So they pre-render some tiles, and then generate the rest on-the-fly.
Another idea from the same source is using meta tiles. These are chunks of 64 tiles, computed as a single command. Later they are served separately. It is very clever, because neighbouring tiles are viewed simultaneously in most cases.

We can benefit from both ideas. Approximate list of steps needed:

ItsLastDay commented 7 years ago

There are several OSM solutions for this:

ItsLastDay commented 7 years ago

Scripts that seem to be useful:

ItsLastDay commented 7 years ago

Feature implemented in thefly branch. I'll merge to master one of these days.

ItsLastDay commented 7 years ago

It turned out that performance issues arise when implementing this feature absent-mindedly. Postponed.