Sorry it's late but to answer the question about the scripting extension
[1], it is possible to write a filter function using the extension,
unfortunately its not documented yet :(

There are a few examples in the tests, these in javascript.

https://github.com/geoserver/geoserver/tree/master/src/community/script/core/src/test/resources/org/geoserver/script/function

To install the scripts one has to copy them into
<GEOSERVER_DATA_DIR>/script/function..

[1] http://docs.geoserver.org/stable/en/user/community/scripting/index.html


On Tue, Jun 25, 2013 at 3:33 PM, brking <[email protected]> wrote:

> I'm sorry but I'm just not getting this. I created a new maven project,
> added
> the Geotools references (9.3) and created a function class similar to this:
>
>
> https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/filter/function/string/ConcatenateFunction.java
>
> The code compiles fine. I then dropped the jar in a new META-INF folder
> under the webapps/geoserver folder. It doesn't show up in any WFS
> GetCapabilities calls for the sample layers.
>
> - Does my jar need to go into a subfolder under META-INF ?
> - There is a mention of a text file in the geotools factory tutorial that
> goes under META-INF/services, but I don't see it. Does that need to be
> created ?
>
> Thanks
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Custom-filter-function-tp5062121p5062170.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to