Typo in manual

Description

We are using geoserver 2.15.0.

On the following page:

https://docs.geoserver.org/stable/en/user/styling/sld/reference/rastersymbolizer.html

The following sentence is not correct:

type="intervals" value means that each interval defined by two entries is rendered using the color of the first (lowest-value) entry.

(since the color of the highest value is used. e.g. all values in the interval -300 <= x < 0 are colored in blue, which is the color associated with 0)

In addition, the image 'https://docs.geoserver.org/stable/en/user/_images/rasterlegend.png' contains some errors:

  • in the first column, '-300 > x' should be '-300 >= x'

  • in the second column, '-300< x' should be '-300 > x'

 

Environment

None

Activity

Jukka Rahkonen 
June 29, 2021 at 10:37 AM

If Geoserver behaves as you observed then go ahead and edit the documentation. It might be good to verify the behavior with recent Geoserver version.

Peter Smythe 
November 1, 2019 at 12:49 PM

So, would it be correct to change:

type="intervals" value means that each interval defined by two entries is rendered using the color of the first (lowest-value) entry.

to:

type="intervals" value means that each interval defined by two entries is rendered using the color of the second (highest-value) entry.

 

If I can get confirmation that this is correct, I will gladly update the documentation (but not the image).

Andrea Aime 
September 21, 2019 at 2:52 PM

Documentation can be fixed easily following this procedure: https://docs.geoserver.org/latest/en/docguide/quickfix.html

Details

Assignee

Reporter

Affects versions

Components

Priority

Created September 3, 2019 at 1:58 PM
Updated June 29, 2021 at 10:37 AM