[Geoserver-devel] [JIRA] (GEOS-8157) NCWMS - GetLegendGraphic throws an exception when invoked for dynamic palette styles

Nuno Oliveira created an issue

GeoServer / BugGEOS-8157

NCWMS - GetLegendGraphic throws an exception when invoked for dynamic palette styles

Issue Type:

BugBug

Assignee:

Nuno Oliveira

Components:

Community modules

Created:

30/May/17 5:46 PM

Priority:

MediumMedium

Reporter:

Nuno Oliveira

This issues happens because colormap module on which ncwms depends is not instantiation the coverage reader with the coverage info. In consequence only no-data dimension will be available, since the ncwms needs to access actual data the following exception is returned:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      Failed to extract legend
Filter Function problem for function gridCoverageStats
Could not find the minimum from RenderedSampleDimension("precip30min":[-9999.0 ... -9999.0])
  ‣ Category("No data":[-9999.0 ... -9999.0])
 of band 0
</ServiceException></ServiceExceptionReport>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.1010.2#100044-sha1:0b22eb5)

Atlassian logo