Alexander:

WPS has a DescribeProcess data structure that is used to communicate with
clients what is acceptable for parameter input.

Like Andrea I will also assume you mean WPS Process builder...

1. For vect:Count
2. The parameter "features" requires a SimpleFeatureCollection
3. The WPS builder gives you a couple options: text, reference, subprocess
and vector layer.
4. Selecting "vector layer" allows you to choose one of the wfs layers from
geoserver

The same approach should work for processes expecting a gridcoverage?

1. For ras:AddCoverages
2. coverageA and coverageB both expect a GridCoverage2D
3. The WPS builder gives options: : text, reference, subprocess and raster
layer.
4. When I select "raster layer" I can choose one of the raster published by
this geoserver

If you were making your own client, not wps builder, you would review the
WCS GetCapabilities to see what coverages are available...
--
Jody Garnett


On Tue, 18 May 2021 at 06:33, Alexander Petkov <[email protected]> wrote:

> Hello,
>
> How can I build a drop-down list for an Input parameter for a WPS?
>
> I would like to examine each workspace for a list of coverages, and then
> add it to a list.
>
> I see that enum gives me a drop down list, but that is defined at compile
> time.
>
> Thanks for any help!!
>
> Alex
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to