There is also an example of providing dynamic (discovered at runtime)
process definitions in the scriptlet community module.  (It loads JavaScript
scripts from the data directory and wraps them up for WPS consumption.)

Again,
http://svn.codehaus.org/geoserver/trunk/src/community/scriptlet/src/main/java/META-INF/services/org.geotools.process.ProcessFactoryregisters
the factory and
http://svn.codehaus.org/geoserver/trunk/src/community/scriptlet/src/main/java/org/geoserver/wps/scriptlet/ScriptletProcessFactory.java
defines it.

Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, May 5, 2011 at 2:37 AM, Andrea Aime <[email protected]>wrote:

> On Thu, May 5, 2011 at 6:03 AM, Martin Tomko <[email protected]>
> wrote:
> > Hi all,
> > I am new to this list and the advanced functionalities of Geoserver,
> > although I have used it on an on/off basis for years as my WFS server of
> > choice (and its back-end technology geotools as a developer as well).
> >
> > I am looking for a WPS server for my new project. We need to be able to
> port
> > various spatial and a-spatial data handling capabilities as services, and
> > thought that WPS services are best suited for us. I am looking for
> guidance
> > on how to
> > A – develop / wrap services in a framework that will allow them to be
> > plugged into the WPS framework of Geoserver (if at all possible)
> > B – deploy them in Geoserver.
> >
> > It is most likely that these services will include some tools based on
> > Geotools/R etc, and we are quite able to integrate them in a java
> framework.
> > How do I then wrap them into a structure that can expose them as WPS
> >  THROUGH Geoserver (the composition of the XML messages to satisfy the
> OGC
> > mandated requests is again not a problem). Is there a MAVEN builder for
> > that? Is there a skeleton and libraries we can use? How does one package
> > them and deploy...? I think this question is mostly targeted at Andrea in
> > view of the proposed WPS functionality extensions.
>
> The short answer is that there is no documentation, I've done most if not
> all
> of the work in my spare time and concentrated on putting togheter a working
> product.
> The current code is also destined to be moved back to GeoTools, once we
> have it there it will be worth documenting.
>
> However, if you have experience with Geotools building a new process
> by imitation should be trivial:
> - look at the existing processes and annotations here:
>
> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/
> - look at the annotations here and the annotation driven process factories
> here:
>
> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/jts/
>  (the Describe* classes and the *Factory classes)
> - if you need to create a new I/O type look at these classes:
>
> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/ppio/
> - see how processes and ppio(s) are registered as new plugins here:
>
> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/applicationContext.xml
>
> If anyone feels like joining and helping the WPS effort that would be
> appreciated, it has been mostly a one man show for the moment (with various
> fundamental helps from Justin to get the various XML bits and some
> architecture
> decisions right).
>
> 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
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to