On Mon, Nov 22, 2010 at 12:20 PM, Ronoel Jr. <ronoe...@yahoo.com.br> wrote:
> Hello everybody,
>
> How can I develop a new WPS process to the Geoserver? I'm using
> geoserver-2.1-beta1-wps-plugin. I tried the link below to download the
> source code of the plugin, but the repository requires a password.
>
> I have a process written in Java and want to add it to the WPS server.
>
> Can anyone help me?

The link you're referring to is a different WPS implementation: GeoServer
has its own, which is completely different code base from 52N one.

If you want to add your own process the easiest thing is to mimic the
processes already included in GeoServer.
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/

For example, see how the SimplifyProcess is annotated and built:
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/SimplifyProcess.java

To make it visible to the WPS it is also registered in the Spring
application context:
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/applicationContext.xml

(look for: <bean id="simplifyProcess"
class="org.geoserver.wps.gs.SimplifyProcess"/>)

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

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

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

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to