[Geoserver-users] visualizing raster with high nodata values

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&gt;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

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 <tgertin@anonymised.com> wrote:


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
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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 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
Ian Turton

Thanks Ian, this morning I tried using the element in my sld and that is working for me. With the 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 <ijturton@anonymised.com> 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 <tgertin@anonymised.com> wrote:


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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ian Turton

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 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