You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am managing to get the list of tiles from tilemantle, but when I run the command in tilestrata server with -H (which I was expecting to "auto refresh" the cache with new generated tiles), I see that it doesn't happen. The command:
tilemantle http://localhost:9999/basemap-custom-1/{z}/{x}/{y}/t.png -p ... -b 14km -z 10-21 -H "X-TileStrata-SkipCache:basemap-custom-1/t.png" (ommited some stuff for simplicity).
My tilestrata is configured like this:
var tilestrata = require('tilestrata');
var disk = require('tilestrata-disk');
var sharp = require('tilestrata-sharp');
var mapnik = require('tilestrata-mapnik');
var dependency = require('tilestrata-dependency');
var strata = tilestrata();
// define layers
strata.layer('basemap')
...
strata.layer('basemap-custom-1')
.route('*@2x.png')
.use(disk.cache({dir: '/var/lib/tiles/basemap-custom-1'}))
.use(mapnik({
pathname: '/home/osboxes/dados_container_renderer_custom/stylesheet_custom.xml',
tileSize: 512,
scale: 2
}))
.route('*.png')
.use(disk.cache({dir: '/var/lib/tiles/basemap-custom-1'}))
.use(dependency('basemap-custom-1', '*@2x.png'))
.use(sharp(function(image, sharp) {
return image.resize(256);
}));
// start accepting requests
strata.listen(9999);
Did I miss something?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello,
I am managing to get the list of tiles from tilemantle, but when I run the command in tilestrata server with -H (which I was expecting to "auto refresh" the cache with new generated tiles), I see that it doesn't happen. The command:
tilemantle http://localhost:9999/basemap-custom-1/{z}/{x}/{y}/t.png -p ... -b 14km -z 10-21 -H "X-TileStrata-SkipCache:basemap-custom-1/t.png"
(ommited some stuff for simplicity).My tilestrata is configured like this:
Did I miss something?
Thanks in advance!
The text was updated successfully, but these errors were encountered: