[ZOO-Discuss] WPS Client and Introduction

Jody Garnett Jody.Garnett at lisasoft.com
Tue Jun 22 17:42:18 PDT 2010


Thanks Nicolas:

I was mostly looking for the link to the capabilities document; as I am testing not the ability to run the services (yet!) but the ability to parse the capabilities document and ensure the describe process responses are descriptive enough to build a client user interface dynamically.

In particular this will stress both the standards ability to describe what is needed for a process; and the different implementations adherence to the standard.
* As an example listing "gml2" as an expected input for a feature collection does not work; since gml2 does not describe a concrete feature collection class.

More feedback as I go ... I assume this is the capabilities document then:
- http://shilpa.media.osaka-cu.ac.jp/zoo/driftx/wps/?<http://shilpa.media.osaka-cu.ac.jp/zoo/driftx/wps/?request=Execute&service=WPS&version=1.0.0&language=en-CA&Identifier=Gdal_Translate&DataInputs=Format=GIF@datatype=string;InputDSN=srtm_kashiwara@datatype=string;OutputDSN=srtm_kashiwara_output6@datatype=string;ProjWin=135.6212504,34.5820833,135.6679170,34.5670833,urn:ogc:def:crs:EPSG:6.6:4326,2;demo=Reference@xlink:href=http%3A%2F%2Fexamples.oreilly.com%2Fwebmapping%2Fch7%2Fairports.gml>REQUEST=GetCapabilities&VERSION=1.0.0&SERVICE=WPS

(Unless I am mistaken the request, version and version parameters are required to be in all caps?)

Your example queries worry me a bit in that as a desktop client I am going to be passing any content inline; while I may be able to reference internet based content such as from a wfs or a wcs as an optimisation it is not my default starting position.

It could be that to work with zoo wps a desktop client will need to work in conjunction with an ftp server in order to stage information for zoo to process?

Jody

On 22/06/2010, at 11:21 PM, nicolas bozon wrote:

Hi again Jody,
My answer bellow

2010/6/22 Jody Garnett <Jody.Garnett at lisasoft.com<mailto:Jody.Garnett at lisasoft.com>>
On 22/06/2010, at 5:26 PM, nicolas bozon wrote:

> Hello Jody,
>
> Good to hear from you, i remember meeting you after the ZOO Project presentation at FOSS4G2009.

That was indeed fun; I am looking forward to attending foss4g this year and meeting more people.

> Thanks for you interest in ZOO, i hope you can use ZOO Kernel and API to communicate with your WPS client project.
> (Btw, passing features, rasters or any other kind of data is quiet easy to achieve using a ZOO service, with xlinks)

Do you have an example I should look at?

On the ZOO Trac, you can see those examples working:

Using xlink:href
http://shilpa.media.osaka-cu.ac.jp/zoo/driftx/wps/?request=Execute&service=WPS&version=1.0.0&language=en-CA&Identifier=Gdal_Translate&DataInputs=Format=GIF@datatype=string;InputDSN=srtm_kashiwara@datatype=string;OutputDSN=srtm_kashiwara_output6@datatype=string;ProjWin=135.6212504,34.5820833,135.6679170,34.5670833,urn:ogc:def:crs:EPSG:6.6:4326,2;demo=Reference@xlink:href=http%3A%2F%2Fexamples.oreilly.com%2Fwebmapping%2Fch7%2Fairports.gml<http://shilpa.media.osaka-cu.ac.jp/zoo/driftx/wps/?request=Execute&service=WPS&version=1.0.0&language=en-CA&Identifier=Gdal_Translate&DataInputs=Format=GIF@datatype=string;InputDSN=srtm_kashiwara@datatype=string;OutputDSN=srtm_kashiwara_output6@datatype=string;ProjWin=135.6212504,34.5820833,135.6679170,34.5670833,urn:ogc:def:crs:EPSG:6.6:4326,2;demo=Reference@xlink:href=http://examples.oreilly.com/webmapping/ch7/airports.gml>

Using WFS request as xlink:href
http://shilpa.media.osaka-cu.ac.jp/zoo/driftx/wps/?request=Execute&service=WPS&version=1.0.0&language=en-CA&Identifier=Gdal_Translate&DataInputs=Format=GIF@datatype=string;InputDSN=srtm_kashiwara@datatype=string;OutputDSN=srtm_kashiwara_output6@datatype=string;ProjWin=135.6212504,34.5820833,135.6679170,34.5670833,urn:ogc:def:crs:EPSG:6.6:4326,2;demo=Reference@xlink:href=http%3A%2F%2Fcarto.languedoc-roussillon.ecologie.gouv.fr%2Fwebservices%2Fwfs%2Fdiren_general%2F%3FVERSION%3D1.1.0%26service%3DWFS%26request%3DGetFeature%26typename%3DZnieff1%26maxfeatures%3D1

You can also check other example requests from this page:
http://zoo-project.org/trac/wiki/ZooKernel


> I just read your comparison of WPS implementations on How2Map, very interesting.

No worries; it is just a blog; i will take some notes there as I go.

> Please do not hesitate to ask questions on this ML or on the IRC chanel.
> We got a few public and private client-side demo running, and i'll be happy to help if needed.

Do you have links to a public WPS service I could test against? I mostly want to ensure the client can parse the capabilities document and make sense of the describe process statements.

Here are listed ready to use webservices, available from our ZOO server
http://zoo-project.org/trac/wiki/ZooWebSite/ZooServices/Samples

You can also check the ZOO demos from the top menu and check example script  for linking OpenLayers Client with ZOO Services (simple cases)

Hope it helps
See you at FOSS4G then !

Best,

Nick

Jody


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20100623/9c096a90/attachment.html>


More information about the Zoo-discuss mailing list