[Geoserver-devel] WPS plugin for geoserver

The latest FROGS stake should be available by next week when Roberto
Caron comes back.

However in my limited understanding a Web Processing Service, is
supposed to accept an OWS Request that includes a WFS request to a Web
Feature Service, the WPS would fetch features, process them, and

return

the result. (I do hope that is correct).

WPS spec itself is generic enough to allow us to wrap up OGC services
like WMS, WFS etc. If your WFS request is wrapped properly (e.g. we
could embed OWS WFS request using following pattern:
http://foo.com/wpsproducer?service=wps&request=Execute&version=0.4.0&Ide
ntifier=wfsgetfeature&DataInputs =
"service=wfs,request=getfeature,version= 1.0.0,BB=......") according the
WPS spec, you should have GML returned as part of the directly response
of the WFS based WPS. However this is not as nicer as purely WPS based
WFS interfaces. I need to learn how the Geoserver stake is handling this
issue though. We are also assessing and implementing SOAP messaging
capability in our work here.

Cheers!

Xiaoyuan Geng

-----Original Message-----
From: geoserver-devel-bounces@lists.sourceforge.net
[mailto:geoserver-devel-bounces@lists.sourceforge.net] On Behalf Of
geoserver-devel-request@lists.sourceforge.net
Sent: Thursday, August 31, 2006 1:27 PM
To: geoserver-devel@lists.sourceforge.net
Subject: Geoserver-devel Digest, Vol 3, Issue 79

Send Geoserver-devel mailing list submissions to
  geoserver-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
  https://lists.sourceforge.net/lists/listinfo/geoserver-devel
or, via email, send a message with subject or body 'help' to
  geoserver-devel-request@lists.sourceforge.net

You can reach the person managing the list at
  geoserver-devel-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Geoserver-devel digest..."

Today's Topics:

   1. IRC Breakout on "app" packaging now ... (Jody Garnett)
   2. Re: WPS plugin for geoserver (Jody Garnett)
   3. FROGS hopped along (Jody Garnett)
   4. Re: Can't run web module? (Justin Deoliveira)
   5. Re: community net.opengis.wfs-1.0.0 (Justin Deoliveira)
   6. Re: Can't run web module? (Andrea Aime)

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

Message: 1
Date: Thu, 31 Aug 2006 17:45:26 +0200
From: Jody Garnett <jgarnett@anonymised.com>
Subject: [Geoserver-devel] IRC Breakout on "app" packaging now ...
To: Geoserver-devel <geoserver-devel@lists.sourceforge.net>
Message-ID: <44F70416.7070305@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

So after bother Justin for a new moments (well 57 moments) it seems that

the document we were looking for was never completed (Justin wanted to
make things pretty and easy first).

We are going to start up on the IRC channel and work through making a
"helloworld.war" now, and then post the notes on the wiki site. If
anyone else wants to join, talk shop, or wonder at the config system (or

its new optional catalog substitute) then you are welcome to join us.

To be clear we are going to document how things work now, Justin may
make things easier later.
Cheers,
Jody

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

Message: 2
Date: Thu, 31 Aug 2006 17:49:17 +0200
From: Jody Garnett <jgarnett@anonymised.com>
Subject: Re: [Geoserver-devel] WPS plugin for geoserver
To: Theodor Foerster <foerster@anonymised.com>
Cc: geoserver-devel@lists.sourceforge.net
Message-ID: <44F704FD.8040208@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dude since you are on a timeline, the FROGS project does have a WPS
stack already in place
we tried working with them, but they were shy on email. Why not grab
there code and see if you
can get done quicker.
(at the very least they probably have something that parses a WPS
request).
Jody

Jody, thanks for your comments. I just went through them and saw a lot
of new decisions appearing. I think I will try to set up the
WPSDataStore for each WPS instance. Thus one WPSDataStore has multiple
FeatureTypes (i.e. processes). By now that s only a prototype... I

will

try to figure out the Geotools OWS capabilties later, if the prototype
is suffient.

To give some more details about the context of my planned
implementation. I will trigger mostly the WPS, provided by 52north at
incubator52n.de/twiki/bin/view/Processing/52nWebProcessingService .
Finally I will link there any implementation code of the extension, if
there are no problems with any licensing...

I may get back to one of your comments in advance... Thanks again!

Theodor

-----Original Message-----
From: Jody Garnett [mailto:jgarnett@anonymised.com]
Sent: Thursday, August 31, 2006 5:19 PM
To: Theodor Foerster
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] WPS plugin for geoserver

That is a lot of questions, let me try:

Hi,
I just started to extend geoserver (v.1.3.0) for WPS support. The

idea

    
is to serve geoprocesses through geoserver, in particular through the

WMS (WFS could be a future task). I am writing the WPS extension as a

read-only DataStore in geoserver.
    

That is a interesting choice, WPS is a protocol (not a source of data)

-

I am not sure I understand this design decision?
  

By now, I can create WPS instances in geoserver as DataStores, but
what do I have to do to create actual FeatureStores?
    

You need to configure a GeoTools FeatureTypeInfo, you can do this

using

the user interface (or by hacking and XML in your own conf directory).

You may also try out Justin's new GeoTools catalog backed GeoServer
available in the community module (which I am trying to figure out

now)

- the api for programmers is a lot more direct.

However in my limited understanding a Web Processing Service, is
supposed to accept an OWS Request that includes a WFS request to a Web
Feature Service, the WPS would fetch features, process them, and

return

the result. (I do hope that is correct).

You can find an example HelloWorld Open Web Service as part of the
GeoServer 1.4 documentation.
  

Or how do I get the processed results out to geoserver?
  

If your processed results are set up as part of your geoserver
configuration (either the xml files, or by hand using the config ui)
they will be published for other applications. Alternatively the WPS
specification tells you an different protocol (ie not Web Feature
Server) by which you can do this.
  

What is the role of the namespaces?
    

namespace is the namespace for the resulting GML content.
  

How can I pass dynamic parameters of the WMS request to the

DataStore?

  

The dynamic paramters from the WMS request are limited to a bounding
box, it will get reprojected into some kind of spatial query based on

a

Polygon, the other dynamic parameters are based on the Style Layer
Descriptor specificaiton and are handled by the rendering process. (as
an example they define a series of explicit queries against your
DataStore, sometimes only requesting a geometry attribute for

display).

  

I will match each WPS-process with a FeatureType. However that s
perhaps not the best way, but straight-forward. Additionally I have

to

    
deal with a little time constraint. The stuff has to work until end

of

    
next week
:slight_smile:
  

Fun, so does your WPS need to be in agreement with the specification?

If

so you should start defining your own community module to handle WPS
requests, capturing each request in a DataStore would be tough, you
could (when you define your process) accept DataStoreFactorySPI
parameters to handle the "dynamic" paramters include in your specific
request.

You would be making these datastores up per each request though, so

you

would really need to understand Justins new catalog. Or you could just
make them, use them to generate some GML, and then throw them away
again.
  

I am looking forward to any comments concerning some design issues,
but also how to solve the above mentioned problems.
  

Sounds to me like you are making up a new service:
1. define a module (as per examples in the community space) 2. when
handling your request produce a Map of the dynamic parameters 3. use

the

Map of parameters to create a new "DataStore"
4. use that datastore to generate some GML (using the existing

geoserver

codebase as an example) 5. throw away the datastore after use.
Cheers,
Jody
  

Cheers
Theodor

ITC, Enschede
Department of Geo Information Processing PO. Box 6 7500 AA Enschede
the Netherlands

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

--- Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your

job

    
easier Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216

42 _______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

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

Using Tomcat but need to do more? Need to support web services,

security?

Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  
------------------------------

Message: 3
Date: Thu, 31 Aug 2006 18:06:48 +0200
From: Jody Garnett <jgarnett@anonymised.com>
Subject: [Geoserver-devel] FROGS hopped along
To: Theodor Foerster <foerster@anonymised.com>, Geoserver-devel
  <geoserver-devel@lists.sourceforge.net>
Message-ID: <44F70918.4060200@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Well we met with them but did not get far, hoping they will call back at

some point.
Jody

I had a look a FROGS, but I thought, that their geoserver integration

is

just at an early design stage. However, we do have the WPS
implementation already running compliant to the current spec. So I
think, it is valid to get this extension started, correct? Otherwise
please point me to a link, about FROGS and their geoserver

integration.

Best regards

Theodor

-----Original Message-----
From: Jody Garnett [mailto:jgarnett@anonymised.com]
Sent: Thursday, August 31, 2006 5:49 PM
To: Theodor Foerster
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] WPS plugin for geoserver

Dude since you are on a timeline, the FROGS project does have a WPS
stack already in place we tried working with them, but they were shy

on

email. Why not grab there code and see if you can get done quicker.
(at the very least they probably have something that parses a WPS
request).
Jody
  

Jody, thanks for your comments. I just went through them and saw a

lot

    
of new decisions appearing. I think I will try to set up the
WPSDataStore for each WPS instance. Thus one WPSDataStore has

multiple

    
FeatureTypes (i.e. processes). By now that s only a prototype... I
will try to figure out the Geotools OWS capabilties later, if the
prototype is suffient.

To give some more details about the context of my planned
implementation. I will trigger mostly the WPS, provided by 52north at

incubator52n.de/twiki/bin/view/Processing/52nWebProcessingService .
Finally I will link there any implementation code of the extension,

if

    
there are no problems with any licensing...

I may get back to one of your comments in advance... Thanks again!

Theodor

-----Original Message-----
From: Jody Garnett [mailto:jgarnett@anonymised.com]
Sent: Thursday, August 31, 2006 5:19 PM
To: Theodor Foerster
Cc: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] WPS plugin for geoserver

That is a lot of questions, let me try:

Hi,
I just started to extend geoserver (v.1.3.0) for WPS support. The
idea
    
is to serve geoprocesses through geoserver, in particular through

the

      
WMS (WFS could be a future task). I am writing the WPS extension as

a

      
read-only DataStore in geoserver.
    

That is a interesting choice, WPS is a protocol (not a source of

data)

    
- I am not sure I understand this design decision?
  

By now, I can create WPS instances in geoserver as DataStores, but
what do I have to do to create actual FeatureStores?
    

You need to configure a GeoTools FeatureTypeInfo, you can do this
using the user interface (or by hacking and XML in your own conf
    

directory).
  

You may also try out Justin's new GeoTools catalog backed GeoServer
available in the community module (which I am trying to figure out
now)
- the api for programmers is a lot more direct.

However in my limited understanding a Web Processing Service, is
supposed to accept an OWS Request that includes a WFS request to a

Web

    
Feature Service, the WPS would fetch features, process them, and
return the result. (I do hope that is correct).

You can find an example HelloWorld Open Web Service as part of the
GeoServer 1.4 documentation.
  

Or how do I get the processed results out to geoserver?
  

If your processed results are set up as part of your geoserver
configuration (either the xml files, or by hand using the config ui)
they will be published for other applications. Alternatively the WPS
specification tells you an different protocol (ie not Web Feature
Server) by which you can do this.
  

What is the role of the namespaces?
    

namespace is the namespace for the resulting GML content.
  

How can I pass dynamic parameters of the WMS request to the
      

DataStore?
  

The dynamic paramters from the WMS request are limited to a bounding
box, it will get reprojected into some kind of spatial query based on

a Polygon, the other dynamic parameters are based on the Style Layer
Descriptor specificaiton and are handled by the rendering process.

(as

    
an example they define a series of explicit queries against your
DataStore, sometimes only requesting a geometry attribute for
    

display).
  

I will match each WPS-process with a FeatureType. However that s
perhaps not the best way, but straight-forward. Additionally I have
to
    
deal with a little time constraint. The stuff has to work until end
of
    
next week
:slight_smile:
  

Fun, so does your WPS need to be in agreement with the specification?

If so you should start defining your own community module to handle
WPS requests, capturing each request in a DataStore would be tough,
you could (when you define your process) accept DataStoreFactorySPI
parameters to handle the "dynamic" paramters include in your specific

request.

You would be making these datastores up per each request though, so
you would really need to understand Justins new catalog. Or you could

just make them, use them to generate some GML, and then throw them
away again.
  

I am looking forward to any comments concerning some design issues,
but also how to solve the above mentioned problems.
  

Sounds to me like you are making up a new service:
1. define a module (as per examples in the community space) 2. when
handling your request produce a Map of the dynamic parameters 3. use
the Map of parameters to create a new "DataStore"
4. use that datastore to generate some GML (using the existing
geoserver codebase as an example) 5. throw away the datastore after
    

use.
  

Cheers,
Jody
  

Cheers
Theodor

ITC, Enschede
Department of Geo Information Processing PO. Box 6 7500 AA Enschede

the Netherlands

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

-
--- Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job
    
easier Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121

6
42 _______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

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

--- Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your

job

    
easier Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216

42 _______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  
------------------------------

Message: 4
Date: Thu, 31 Aug 2006 09:16:48 -0700
From: Justin Deoliveira <jdeolive@anonymised.com>
Subject: Re: [Geoserver-devel] Can't run web module?
To: Alessio Fabiani <alessio.fabiani@anonymised.com>
Cc: Brent Owens <brentowens@anonymised.com>, Geoserver-devel
  <geoserver-devel@lists.sourceforge.net>, Andrea Aime
  <andrea.aime@anonymised.com>
Message-ID: <44F70B70.4080301@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1

An obscure one but it appears to be the stuff I added to do deployment
yesterday. The following part of the root pom:

<extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-webdav</artifactId>
        <version>1.0-beta-1</version>
      </extension>
    </extensions>

Causes the error. Here are the details

http://www.mail-archive.com/issues@anonymised.com/msg09510.html

I guess that is what you get for going with a beta:) For now I will
comment it out, we wont be able to deploy. I will have to look into a
way to get around this.

-Justin

Alessio Fabiani wrote:

Yes I know ... I'm trying to understand where is the problem !!!

Sorry !!!

On 8/31/06, *Brent Owens* <brentowens@anonymised.com
<mailto:brentowens@anonymised.com>> wrote:

    Yep we are java 1.4.

    Brent Owens
    (The Open Planning Project)

    Andrea Aime wrote:
    > Alessio Fabiani ha scritto:
    >
    >> JDK 1.4 is the guilty !!!!
    >>
    >
    > Sorry? Geoserver is supposed to run on 1.4, not 1.5?
    > Cheers
    > Andrea
    >
    >
    >

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

    > Using Tomcat but need to do more? Need to support web services,
    security?
    > Get stuff done quickly with pre-integrated technology to make

your

    job easier
    > Download IBM WebSphere Application Server v.1.0.1 based on

Apache

    Geronimo
    >

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164
2>

    > _______________________________________________
    > Geoserver-devel mailing list
    > Geoserver-devel@lists.sourceforge.net
    <mailto:Geoserver-devel@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
    >
    >

--
-------------------------------------------------------
Eng. Alessio Fabiani
Vice President/CTO GeoSolutions

http://www.geo-solutions.it

---------------------------------------------------------
!DSPAM:1004,44f7031997781775926497!

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

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

Using Tomcat but need to do more? Need to support web services,

security?

Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,44f7031997781775926497!

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

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,44f7031997781775926497!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

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

Message: 5
Date: Thu, 31 Aug 2006 09:39:10 -0700
From: Justin Deoliveira <jdeolive@anonymised.com>
Subject: Re: [Geoserver-devel] community net.opengis.wfs-1.0.0
To: Clint Lewis <louiecw@anonymised.com>
Cc: Geoserver-devel <geoserver-devel@lists.sourceforge.net>
Message-ID: <44F710AE.4090605@anonymised.com>
Content-Type: text/plain; charset=us-ascii

As stated earlier in an IRC session, the 1.5.x community stuff is not
really ready to be used by a running project yet. Its part of the ows4
project and is in an intermediate stage.

-Justin

Clint Lewis wrote:

Hi

more dependancies missing

[0] 'dependencies.dependency.version' is missing for

org.eclipse.emf:common

[1] 'dependencies.dependency.version' is missing for

org.eclipse.emf:ecore

[2] 'dependencies.dependency.version' is missing for
org.opengis:geoapi-nogenerics
[3] 'dependencies.dependency.version' is missing for
xml-apis:xml-apis-xerces

Kind Regards
Clint Lewis

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

Using Tomcat but need to do more? Need to support web services,

security?

Get stuff done quickly with pre-integrated technology to make your job

easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,44f6994955991804284693!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

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

Message: 6
Date: Thu, 31 Aug 2006 19:26:08 +0200
From: Andrea Aime <andrea.aime@anonymised.com>
Subject: Re: [Geoserver-devel] Can't run web module?
To: Justin Deoliveira <jdeolive@anonymised.com>
Cc: Brent Owens <brentowens@anonymised.com>, Geoserver-devel
  <geoserver-devel@lists.sourceforge.net>, Alessio Fabiani
  <alessio.fabiani@anonymised.com>
Message-ID: <44F71BB0.7010101@anonymised.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Justin Deoliveira ha scritto:

An obscure one but it appears to be the stuff I added to do deployment
yesterday. The following part of the root pom:

<extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-webdav</artifactId>
        <version>1.0-beta-1</version>
      </extension>
    </extensions>

Causes the error. Here are the details

http://www.mail-archive.com/issues@anonymised.com/msg09510.html

I guess that is what you get for going with a beta:) For now I will
comment it out, we wont be able to deploy. I will have to look into a
way to get around this.

Indeed this works. Committed the change in the pom since nobody did so
far.
Also note the above maven bug has been closed and non reproducable and
related to a corrupted jar... hmm....

Cheers
Andrea Aime

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

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

End of Geoserver-devel Digest, Vol 3, Issue 79
**********************************************