Closed MacaScull closed 2 years ago
ye, you can seed the tile cache (Create the tiles and store them in the tegola caching system: https://tegola.io/documentation/cache-seeding-and-purging/#seed1
On Mon, Feb 15, 2021 at 4:25 AM MacaScull notifications@github.com wrote:
Hello, I was just wondering if there was anyway to pre-render vector tiles using tegola, as at the moment my map uses this but takes quite sometime to load in the map this way.
Ive heard doing things like setting a min and max zoom on levels can do this, but when ive done this data dissappears off the map when I exceed that zoom level, any advice to get faster rendering times on vector data?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/go-spatial/tegola/issues/740, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOUKTXTEP5MFVU3YOOCWQTS7EG7NANCNFSM4XUTEPEA .
Is there a way to access this as an environment variable in a docker-compose? or will this have to be one in a different way? if it can be accessed in a docker-compose file, could you provide an example?
@MacaScull it's calling tegola as a command, for example:
$ tegola cache seed --config your_config.toml
It's not running tegola as a service, but rather a worker. This should work with Docker Compose.
Closing this issue as I believe the question has been answered. Re-open if you need additional clarifcaiton.
Hello, I was just wondering if there was anyway to pre-render vector tiles using tegola, as at the moment my map uses this but takes quite sometime to load in the map this way.
Ive heard doing things like setting a min and max zoom on levels can do this, but when ive done this data dissappears off the map when I exceed that zoom level, any advice to get faster rendering times on vector data?