On Fri, 2006-03-17 at 13:51 +0200, Jody Garnett wrote:
>   
> I think so, let me try one:
> 1. user adds a WPS url to a preference page
> IDEA: Preference Page
ok, I need to learn what a preference page is.
> 2. Create a Web Process context menu for WFS FeaturesType (am I correct 
> in understanding that WPS can only be used when chained with a WFS? Or 
> can we upload GML as to the WPS and get an answer back?)
> IDEA: Context Menu Contribution
So I need to learn about Context Menu's...

Well, if I understand your question correctly, the answer is no. WPS can
be used without chaining with WFS. The WPS interface is very general, it
allows for specifying any type of input and any type of output, for any
process/calculation that the WPS supports, it doesn't need to be a
geospatial calculation at all. However, OGC made the spec so I guess it
is supposed to do mostly that kind of work =)
The Inputs could be references to some remote file or resource, or they
could be embedded data in the WPS request, or just about anything at
all, it is all up to each process/calculation implemented by the WPS to
specify what it needs as inputs (if any inputs are needed at all) and
what outputs are generated. Outputs could possibly be stored at the WPS
if calculations are expected to take quite a while, and staus check
could be supported giving the user a chance to see how the calculation
is proceeding. When all is ready, the client can then fetch the results
at the WPS.

My particular process/calculation that the WPS supports needs two
inputs: a geometry (as gml embedded in an Execute request) and a
bufferdistance (as a literal value embedded in the Execute request). Out
comes streamed gml of the buffered geometry.

> 3. A dialog pops up where the user can choose what process to "Execute", 
> uDig creates a temporary layer to "catch" these features as they come back
> IDEA: Dialog
Need to learn Dialogs...

> 4. WPS goes chunk chunk chunk on the data
> 5. SPS Cient gobbles up the GML as it comes back, and provides a stream 
> of normal geotools features
SPS Client sounds like a nice client...

> 6. uDig takes those feature and puts them into a temporary layer as they 
> are produced. 
> IDEA: Creating a tempoary layer
Need to learn how to create a layer...

> 7. user can do normal stuff with the produced data, including save it 
> out to a file.
Right.

Sounds like a plan. But perhaps I should cut straight to the chunk chunk
chunk and see to it that the critical stuff for this project works
before adding the nice GUI "WPS processes selection and adding inputs"
etc.

Jonas


> 
> Jody
> 
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to