Michael Bedward wrote: > Hi Andrea, > >> Looks like it would. Can we name it "enviroment", "env" or >> something like that? > > Anything you like - you choose :) > >> I would like to make the renderer aware >> of the function and stick into the enviroment some well >> known variables, such as the current scale denominator, >> the paint area, the current layer name and whatnot. > > Sounds good. > >> Ah, reading the SE 1.1 spec, page 38 (page 46 of the pdf): >> >> 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 using fallback as the default value would be improper usage, >> as we do support the function > > Ah, OK. But for the sort of uses that you've described and Nenad was > enquiring about this wouldn't be a problem would it ?
Well, technically you're right, but in practice we would be misusing a facility that is designed for something else. I'd rather not introduce inconsistencies, especially since I hope that one day or the other well actually support SE 1.1 What do others think? Cheers Andrea ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
