Thanks for the answer!

Regarding Postgis backend I was thinking (hoping)  about a really simple
model:

Just write the sql statement with parameters:

SELECT St_buffer([WPS_INPUT_GEOM], 100) as WPS_OUTPUT_GEOM.

/Martin



2010/12/18 Andrea Aime <[email protected]>

> On Sat, Dec 18, 2010 at 10:16 AM, Martin Jensen
> <[email protected]> wrote:
> > Thanks for the reply!
> >
> > I hope i'll bump into a project that can finance this!
> >
> > As for a short term solution, maybe R could be suported through my
> Postgis
> > datastore wehere I have  R -functions based on the PL/R language.
> >
> > Is it possible to make a WPS process using the Postgis functions as
> backend
>
> I think it is, thought I never tried that.
> A WPS process should be able to take data from anywhere, from a remote WFS,
> WCS and so on.
> Our WPS architecture abstracts that away from you, your process just need
> to
> take in GeoTools FeatureCollection (vector data) or GridCoverage
> (raster data) objects,
> and the framework will take care of dealing with all the possible
> input formats.
> Here are two possibe examples, one dealing with raster data. the other with
> vector data:
>
> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/StyleCoverage.java
>
> http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/RectangularClipProcess.java
>
> A process that actually backs onto PostgreSQL provided functions would have
> to then connect to postgres, send the data over (I think, in a temporary
> table),
> run the computation, grab the result back as another feature collection,
> and clean up after the fact.
> Pretty doable, with a lot of code that can be reused from one pg backed
> process
> to the other, so it would be possible to make this easy by creating a base
> class
> or a set of utilities that factor out all the commonly reusable parts.
>
> Hope this helps
>
> Cheers
> Andrea
>
> > ?
> >
> > Martin
> >
> >
> >
> >
> > 2010/12/16 Andrea Aime <[email protected]>
> >>
> >> On Wed, Dec 15, 2010 at 11:32 PM, Martin Jensen
> >> <[email protected]> wrote:
> >> > I am really thrilled by the potential of WPS in Geoserver.
> >> > I have been using R spatial (http://r-spatial.sourceforge.net/) with
> >> > postgresql
> >> > (http://bostongis.com/?content_name=postgresql_plr_tut01#87) and
> >> > I think it would be great for the WPS roadmap to consider support for
> R
> >> > processes.
> >> > http://www.r-project.org/
> >> > Any thouhgts on support for R in Geoserver WPS?
> >>
> >> Oh yeah, having R support would be indeed very nice (as it would be to
> >> have GRASS support).
> >>
> >> Afaik there are two challenges to overcome.
> >> The first is technical, about the communication between a Java based
> >> process and R.
> >> I think there is something around but not sure what the maintainance
> >> status
> >>
> >> The second is resourcing: new developments happen when either there is
> >> something that needs it
> >> that can also code, or when someone shows up with funding geared
> >> towards a professional
> >> GeoServer supporter (see the commercial support page).
> >>
> >> As far as I know at the moment we don't have neither the first, nor the
> >> second,
> >> but we can hope that will happen sometimes soon in the future :-)
> >>
> >> 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
> >>
> >> -----------------------------------------------------
> >
> >
> >
> > --
> > Med venlig hilsen
> >
> > Martin Bjærge Jensen
> >
>
>
>
> --
> -----------------------------------------------------
> 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
>
> -----------------------------------------------------
>



-- 
Med venlig hilsen

Martin Bjærge Jensen
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to