WMS rendering fails with descending color map entries
-----------------------------------------------------
Key: GEOS-4226
URL: http://jira.codehaus.org/browse/GEOS-4226
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 2.1-beta1, 2.0.2
Reporter: Torsten Heinen
Assignee: Andrea Aime
Attachments: descending_colormap_fail.log
When requesting a raster dataset with a color map style like this
<Name>Elevation</Name>
<Title>Elevation (in meters)</Title>
...
<ColorMap>
<ColorMapEntry color="#fafafa" quantity="5500.0" label="5500 m"/>
...
<ColorMapEntry color="#434a65" quantity="-500.0" label="-500 m"/>
<ColorMapEntry color="#000000" quantity="-32767.0" opacity="0.0"
label="Nodata"/>
</ColorMap>
the rendering fails with the following exception:
java.lang.IllegalArgumentException: Ranges [-\u221e..5,500] and
[-32,767..\u221e] overlap. See log file for details.
The same color map style works, if the entries are sorted in ascending order.
However, we need to have the getLegendGraphics request generate are legend with
the highest value on top.
(Also the title of the rule is not printed in the legend and we like to disable
the text below the legend, but with no success. Any hints?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel