Open almccon opened 7 years ago
Hi!
The 4
vs. 3
means that it's finding an alpha band where it doesn't expect one. That's probably because I switched to using external masks (.tif.msk
) as part of #10.
You can probably produce expected (and smaller) output by running 2013.tif
through process.sh
. There will be about 7 files (a pair of VRTs, a TIFF, a mask, footprint GeoJSON, and a pair of JSON metadata files).
Hi all, especially @mojodna ;)
I'm trying to tile a new basemap for Stamen's MPG Ranch project (http://restorationmap.mpgranch.com/) which uses an early version of the dynamic tiling code. But the old code doesn't work, so I'm trying to use the newer scripts in this repo.
However, when I try to serve up my tiles, I get 502 errors, and in my lambda logs on AWS I see messages like this coming from rasterio:
'out' shape (4, 256, 256) does not match window shape (3, 2048, 2048): ValueError
I'm guessing that my .vrt incorrectly guessed the native zoom of the image (or something?) Any suggestions on how to debug this?
Here's my vrt: http://tiles.mpgranch.com.s3.amazonaws.com/sources/2013/index.vrt The metadata (which I had to hand-edit a bit): http://tiles.mpgranch.com.s3.amazonaws.com/sources/2013/index.json And the image itself (~700MB): http://tiles.mpgranch.com.s3.amazonaws.com/sources/2013.tif