On Mon, Jul 25, 2011 at 6:26 PM, Arnaud Vandecasteele
<[email protected]> wrote:
> Hi,
>
> I'm using GeoServer 2.1.1, with the WPS extension.
> I have read the documentation about WPS [1] but I can't find any
> information about the way to add my own script and to call it after.
> Can someone have more information ?

At the moment all processes are written in java using the Geotools
API, with some annotations to make the coding easier.
Here are the existing ones:
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/

which are then declared in the Spring application context here:
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/applicationContext.xml

One can do a custom process by creating a jar with the class and the app
context file inside, then drop it in WEB-INF/lib and go from there.

I know Justin has been working on a python scripting module that is in
the community section. It is developed in spare time, not sure what
its limitations are at the moment.

> Also, If you have an example with a tiny client loke OpenLayers it
> will be great :)

For the moment I'm the main developer of the WPS module, that
implies some limitations, in particular, I don't do scripting of any
kind, so it's a topic that has received little attention.
I would be happy if someone that actually uses scripting languages
would join the effort and improve the WPS in that direction.
That includes making a OL client, that would have to be made
in java...script! ;-)

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to