[OSGeo-Standards] symbology encoding transformation functions

Benjamin Chartier benjamin.chartier at cegetel.net
Fri May 21 11:12:31 EDT 2010


The spec does not seem to say any thing about the retourn value in your 
case. My guess: the function should not recode the value if there isn't 
any corresponding mapping item.

You may also try to post your question there:
http://www.ogcnetwork.net/forum/32

Regards,

Benjamin


Le 21/05/2010 04:35, Michael Bedward a écrit :
> Hi folks,
>
> I couldn't find an easily searchable archive for this list so
> apologies if the following question has been asked many times
> before...
>
> I'm working on implementation of the SE 1.1 functions Recode,
> Categorize and Interpolate in the GeoTools library. I'm wondering
> whether my interpretation of the SE 1.1 spec when it comes to fallback
> value is correct.
>
> The spec says...
> "The value of the fallbackValue attribute is used as a default value,
> if the SE implementation does not support the function. If the
> implementation supports the function, then the result value is
> determined by executing the function."
>
> So I think that means that, for instance, the Recode function should
> return null, and not the fallback value, when a lookup value can't be
> matched.
>
> I'd appreciate it if anyone could confirm that or set me straight if
> my reading of the spec is incorrect.
>
> Michael
> _______________________________________________
> Standards mailing list
> Standards at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/standards
>
>
>    


More information about the Standards mailing list