I apologize in advance if this is a stupid newbie question, but with all the
refactoring and suchlike, I can't make my old code work anymore, so I'm
without an example to follow.  

How do I add a function to the function list so it can be found with
FunctionFinder.findFunction()?   Or is that even the proper class to use
anymore?    I'm trying to build a simple app based off of the old
StyleFunctionLab example, which unfortunately no longer works with 2.7.    

The error I'm getting is:

Exception in thread "main" java.lang.RuntimeException: Unable to find
function Banana
        at 
org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:177)
        at 
org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:74)
        at
org.geotools.filter.FilterFactoryImpl.function(FilterFactoryImpl.java:467)
        at
org.geotools.demo.StyleFunctionLab.createStyle(StyleFunctionLab.java:158)
etc....

Thanks in advance - Tom
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Adding-a-function-to-the-function-list-tp5385277p5385277.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to