Hi Eric, Interesting idea - I haven't heard of anyone doing this though no doubt someone here will speak up if they have.
Registering your own functions is quite easy... 1. Create a META-INF/services folder if you don't already have one. Depending on your build settings (e.g. the resources plugin if you are using maven) this is typically placed in src/main/resources or src/main/java. 2. In the services folder create a file named org.opengis.filter.expression.Function 3. In this file, enter the fully qualified name of each of your filter functions, one per line. When you build your app make sure that the META-INF/services folder has made it into the jar. That should be enough for the GeoTools lookup system to find your functions at run time. Michael ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
