Thanks Ian, this morning I tried using  the <ColorMap> element in my sld
and that is working for me. With the <ColorMap> element, you can specify a
color for the “bottom” of the dataset, and another to specify a color for
the “top” of the dataset. This is working because I choose '0' as the
bottom and '300' for the top, so it is excluding my noData values which are
something like -3.4e+38. I haven't tested it yet on a non-panchromatic
raster.

On Thu, Apr 28, 2016 at 10:36 AM, Ian Turton <[email protected]> wrote:

> They are not implemented for 2.7.x (the give away is when you look in the
> 2,7 manual
> http://docs.geoserver.org/2.7.x/en/user/styling/sld-reference/rastersymbolizer.html
> )
>
> Ian
>
> On 28 April 2016 at 14:41, Thomas Gertin <[email protected]> wrote:
>
>> When I upload an raster with high nodata values, the way the raster is
>> displayed makes it so the main area is white and the borders are black.
>> Does anybody know how to fix this?
>>
>> I am using Geoserver 2.7.4.
>>
>> I looked into the SLDs a little bit. Normalize or histogram is not fixing
>> it. In the 2.8 Users manual for rastersymbolizer
>> <http://docs.geoserver.org/2.8.x/en/user/styling/sld-reference/rastersymbolizer.html>there
>> is more text that refer to supported algorithms such as
>> *StretchToMinimumMaximum* , this appears that it might work, but when I
>> try to use it does not validate my sld. I am thinking these algorithms are
>> not implemented in 2.7.x
>>
>> Thanks,
>>
>> Tom G
>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>
>
> --
> Ian Turton
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to