GeoServer: ilter Function problem for function if_then_else argument #2 - expected ty

المشرف العام

Administrator
طاقم الإدارة
I'm facing a problem with the GeoServer SLD XML.

My XML code is as follows:

LTE_RSRP #FF0000 LTE_RSRP -80 #ff0000 -70 #00ff00 -60 #0000ff color 0.3 My intention is as follows:


  • If LTE_RSRP is null, fill with #FF0000.
  • Else, interpolate the color.
But when the above XML is applied, the following error occurs.

ERROR [geotools.rendering] - Filter Function problem for function if_then_else argument #2 - expected type Object

Here, argument #2 is the function Interpolate. (argument counting starts from 0, according to the geotools source code.) It seems that the return value of the function Interpolate is not an object.

Is this intentional? Or am I doing something wrong?



أكثر...
 
أعلى