Can we do jiffle Logical operators or just math algebra?

Example.. Is this valid (untested) or would the '<' ruin the XML?

          <Transformation>
      <ogc:Function name="ras:Jiffle">
        <ogc:Function name="parameter">
          <ogc:Literal>coverage</ogc:Literal>
        </ogc:Function>
        <ogc:Function name="parameter">
          <ogc:Literal>script</ogc:Literal>
          <ogc:Literal>
            b = src[0];
            c = src[1];
            dest = (b < c ? 0:1);
          </ogc:Literal>
        </ogc:Function>
      </ogc:Function>
    </Transformation>

Dominique Bessette

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to