I've created an image pyramid with gdal_retile from jpeg compressed geotiff's.

for file in *.tif; do gdal_retile.py -v -r bilinear -levels 6 -ps 1024 1024 -co "TILED=YES" -co "COMPRESS=JPEG" -co "BLOCKXSIZE=1024" -co "BLOCKYSIZE=1024"  -s_srs EPSG:3763 -targetDir tiles  ${file}; done;

the resulting pyramid files are ok.

In GeoServer 2.13 (after creating the pyramid and the layer) the preview shows black pixels where should be data.

enter image description here

The result should be something like this (I've created the same pyramid a long time ago but don't remember the gdal_retile options, but I guess it was LZW compression)

enter image description here

GeoServer specs:

  • libjpegturbo
  • native JAI disabled
  • marlinrenderer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.