[Geoserver-devel] [JIRA] (GEOS-9546) GeoTiff Mosaic fails to render a colormap style

lorenzo.pini created an issue

GeoServer / BugGEOS-9546

GeoTiff Mosaic fails to render a colormap style

Issue Type:

BugBug

Affects Versions:

2.16.2, 2.18-RC

Assignee:

Unassigned

Attachments:

geoserver.log, sample.tif, test.sld

Components:

image mosaic, WMS

Created:

19/Mar/20 3:59 PM

Environment:

Windows and Linux
Platform independent binary package

Priority:

MediumMedium

Reporter:

lorenzo.pini

I have a mosaic of GeoTiff files and a colormap to style it.

Most of the time, the Layer Preview page fails to display an image, giving the error “Failed to encode the PNG”.
With the standard “raster” style there are no errors.
Loading the same file with the single GeoTIff store produces no errors.

A sample image, sld and error log are attached.

To reproduce:

  • Place the attached sample.tif file in an empty folder
  • Create an ImageMosaic out of that folder
  • Create a new style with the attached test.sld definition
  • Assign the style to the mosaic
  • Preview the layer

The “tiled” mode in the preview doesn’t seem to be affected in this example

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100122-sha1:52999ef)

Atlassian logo