-
Notifications
You must be signed in to change notification settings - Fork 17
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
caching tiles? #1
Comments
Hi Michael, thanks – I am open to reduce redundancy and define common ground! One goal for In general, I am open to use Apart from that, there only are some functions in it to allow querying The rest actually is just the user-facing functions. |
Ah I didn't think it kept the native tiles, I mean the zoom/x/y.png dirs - I'll have a closer look! |
I see, I'll basically copy you and add osm and carto to ceramic (thanks!) - I think that'll be fairly easy, what you might be interested in is a scan of the ceramic cache for tiles that already exist. They look like this (it's changed as I'm updating to the new tiles/ scheme of mapbox). If I run ceramic::cc_location(ext, format = "png")
you see those nine tiles same as you would get with basemap i.e.
but stored with the full source path, zoom and type (that's what I mean by native fwiw). I'll keep exploring how you've done this for good ideas I can steal ;) But, finally tile-caching is something I was obsessed with, maybe it's time is past and we don't need it anymore ... a problem I will have is invalidating the cache, when it would be better to get more recent tiles and so forth. If I see easy opportunities for cross over I'll let you know. |
Hey there, this looks very nice - I wonder if you are interested in caching the tiles natively as ceramic does? In my mind ceramic is overloaded, it downloads tiles and (optionally) loads them as a raster, but really it should stick to download tiles for given service/extent, and have separated readers for those tile caches. There might be common ground here for us.
The text was updated successfully, but these errors were encountered: