Skip to content
Spacebel sa edited this page Oct 18, 2017 · 11 revisions

Welcome to the WPS wiki.

Deploy Request Example: `<wps:DeployProcess service="WPS" version="2.0.0" xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:owc="http://www.opengis.net/owc/1.0" xmlns:eoc="http://www.opengis.net/wps/2.0/profile/tb13/eoc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wps:ProcessOffering jobControlOptions="async-execute dismiss" outputTransmission="value reference"> wps:Process ows:TitleLand Cover Mapping</ows:Title> ows:AbstractLang Cover Mapping is based on the Sentinel-2 processing workflow generated for the F-TEP platform.</ows:Abstract> ows:IdentifierLandCover</ows:Identifier> <ows:Metadata xlink:role="http://www.opengis.net//tb13/eoc/applicationContext"> eoc:ApplicationContext <title>EOC Land Cover Application Package</title> Landcover EOC APP PKG http://www.opengis.net/tb13/eoc/examples/app_pkg/langcover 2017-08-15T01:28:00Z Panagiotis (Peter) A. Vretanos <title>EOC Land Cover Application</title> http://www.opengis.net/tb13/eoc/LandCover 2017-09-04T15:23:09Z EOC Land Cover Application <br/> Lang Cover Mapping is based on the Sentinel-2 processing workflow generated for the F-TEP platform. <owc:offering code="http://www.opengis.net/tb13/eoc/DockerImage"> <owc:content type="text/xml"/> <ows:AdditionalParameters about="http://www.opengis.net/tb13/eoc/DockerImage"> ows:AdditionalParameter ows:Nameeoc.reference</ows:Name> ows:Valueregistry.hub.docker.com/cnlspacebel/landcover</ows:Value> </ows:AdditionalParameter> ows:AdditionalParameter ows:Nameeoc.command</ows:Name> ows:Value/home/worker/processor/workflow.sh</ows:Value> </ows:AdditionalParameter> </ows:AdditionalParameters> </owc:offering> <title>OpenSearch Collections</title> http://www.opengis.net/tb13/eoc/OS_Collections 2017-09-04T15:23:09Z EOC OpenSearch Collections <br/> Lang Cover Mapping is based on the Sentinel-2 data that can be discovered using several locations. <owc:offering code="http://www.opengis.net/spec/owc-atom/1.0/req/opensearch"> <owc:content type="application/opensearchdescription+xml" href="http://geo.spacebel.be/opensearch/description.xml?parentIdentifier=EOP%3AIPT%3ASentinel2"/> </owc:offering> <owc:offering code="http://www.opengis.net/spec/owc-atom/1.0/req/opensearch"> <owc:content type="application/opensearchdescription+xml" href="http://geo.spacebel.be/opensearch/description.xml?parentIdentifier=EOP%3ASENTINEL-HUB%3ASentinel2"/> </owc:offering> </eoc:ApplicationContext> </ows:Metadata> wps:Input ows:TitleSentinel-2 Image</ows:Title> ows:AbstractURL of Sentinel-2 Level 1C image product in the format offered by AWS or IPT, with a size of up to multiple gigabytes.</ows:Abstract> ows:IdentifierImage</ows:Identifier> wps:ComplexData <wps:Format mimeType="text/directory" default="true"/> </wps:ComplexData> </wps:Input> <wps:Input minOccurs="0"> ows:TitleReference Data</ows:Title> ows:AbstractRepresentative training data set with land cover class attributes, in OGR vector format supported by GDAL, such as ESRI shapefile, in a flat zip structure containing .shp and the supporting files.</ows:Abstract> ows:IdentifierReferenceData</ows:Identifier> wps:ComplexData <wps:Format mimeType="application/zip" encoding="base64" default="true"/> </wps:ComplexData> </wps:Input> wps:Input ows:TitleArea Of Interest</ows:Title> ows:IdentifierAreaOfInterest</ows:Identifier> wps:LiteralData <wps:Format mimeType="text/plain" default="true"/> ows:AnyValue/ <ows:DataType ows:reference="http://www.w3.org/2001/XMLSchema#string">String</ows:DataType> ows:DefaultValuePOLYGON((-92.906633 16.190411,-92.066559 16.188383,-92.070266 15.376645,-92.907004 15.378567,-92.906633 16.190411))</ows:DefaultValue>ows:DefaultValue> </wps:LiteralData> </wps:Input> wps:Input ows:TitleEPSG Code</ows:Title> ows:AbstractCoordinate reference system expressed as a code from the EPSG database using the format "EPSG:NNNN".</ows:Abstract> ows:IdentifierEPSGCode</ows:Identifier> wps:LiteralData <wps:Format mimeType="text/plain" default="true"/> <ows:ValuesReference ows:reference="http://...."/> <ows:DataType ows:reference="http://www.w3.org/2001/XMLSchema#string">String</ows:DataType> ows:DefaultValueEPSG:4326</ows:DefaultValue> </wps:LiteralData> </wps:Input> <wps:Input minOccurs="0"> ows:TitleTarget Resolution</ows:Title> ows:AbstractSome description of what the target resolution means.</ows:Abstract> ows:IdentifierTargetResolution</ows:Identifier> wps:LiteralData <wps:Format mimeType="text/plain" default="true"/> ows:AnyValue/ <ows:DataType ows:reference="http://www.w3.org/2001/XMLSchema#long">Long Integer</ows:DataType> ows:DefaultValue20</ows:DefaultValue> </wps:LiteralData> </wps:Input> wps:Output ows:TitleGeoTIF Image</ows:Title> ows:AbstractLabeled GeoTIF file containing, for each pixel, one of the class codes specified in the training reference data.</ows:Abstract> ows:IdentifierImage_Result</ows:Identifier> wps:ComplexData <wps:Format mimeType="image/tiff" default="true"/>

			</wps:ComplexData>
		</wps:Output>
	</wps:Process>
</wps:ProcessOffering>
<wps:DeploymentProfile>
	<wps:DeploymentProfileName>http://spacebel.be/profile/docker.xsd</wps:DeploymentProfileName>
	<wps:ExecutionUnit>
		<wps:Reference href="http://spacebel.be/profile/docker.xsd"/>
	</wps:ExecutionUnit>
</wps:DeploymentProfile>

</wps:DeployProcess> DeployProcess Response Example:<ns:DeployResult xmlns:ns="http://www.opengis.net/wps/2.0"> ns:DeploymentDonetrue</ns:DeploymentDone> </ns:DeployResult>`

Execute Request Example: <?xml version="1.0" encoding="UTF-8"?> <wps:Execute xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" service="WPS" version="2.0.0" response="document" mode="async" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ows:Identifier>LandCover</ows:Identifier> <wps:Input id="Image"> <wps:Reference xlink:href="file://eodata/sentinel2/L1C/S2A_MSIL1C_20170309T163321_N0204_R083_T15PWT_20170309T164737"/> </wps:Input> <wps:Input id="ReferenceData"> <wps:Data>VGhpcyBpcyBhIGV4YW1wbGUgb2YgYmluYXJ5IGVuY29kZWQgdGV4dA==</wps:Data> </wps:Input> <wps:Input id="AreaOfInterest"> <wps:Data>POLYGON((-92.906633 16.190411,-92.066559 16.188383,-92.070266 15.376645,-92.907004 15.378567,-92.906633 16.190411))</wps:Data> </wps:Input> <wps:Input id="EPSGCode"> <wps:Data>EPSG:32615</wps:Data> </wps:Input> <wps:Input id="TargetResolution"> <wps:Data>20</wps:Data> </wps:Input> <wps:Output id="Image_Result" transmission="value"/> </wps:Execute> Execute Response Example: <wps:StatusInfo xsi:schemaLocation="http://www.opengis.net/wps/2.0 http://schemas.opengis.net/wps/2.0/wps.xsd" xmlns:wps="http://www.opengis.net/wps/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wps:JobID>a6493d14-0d1b-4c27-89ad-9ce02ebb5e6f</wps:JobID> <wps:Status>Accepted</wps:Status> </wps:StatusInfo>