simonw / datasette-tiles

Mapping tile server for Datasette, serving tiles from MBTiles packages
https://datasette.io/plugins/datasette-tiles
8 stars 5 forks source link

Proxy mode #3

Open simonw opened 3 years ago

simonw commented 3 years ago

Idea: a mode where this plugin acts as a proxy - fetching any missing tiles from another tile server and saving them to the underlying mbtiles database.

simonw commented 3 years ago

This is a risky feature - it could lead to accidentally using large amounts of disk space.

Could put this behind a permission check, defaulting to root only. Then make it an option on the map explorer page perhaps.

simonw commented 3 years ago

A more advanced version of this could let users browse an area and then automatically "fill in the gaps" - pulling extra tiles from that area that they didn't browse to.