forked from 52North/WPS
-
Notifications
You must be signed in to change notification settings - Fork 0
2. Our Sample Process: EOC Landcover
Spacebel sa edited this page Oct 20, 2017
·
12 revisions
Our demonstrator use the Land Cover Mapping application delivered in a Docker Image. LandCover Mapping is based on the Sentinel-2 processing workflow generated for the F-TEP platform
The Docker project sources are available on GitHub. The Docker Hub automatically builds the docker image and is available on the Docker Hub. See links below:
Source: Git Project Docker Image: Docker Hub Project = Process Description:
<wps:ProcessOffering jobControlOptions="async-execute dismiss" outputTransmission="value reference" 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:Process>
<ows:Title>Land Cover Mapping</ows:Title>
<ows:Abstract>Lang Cover Mapping is based on the Sentinel-2 processing workflow generated for the F-TEP platform.</ows:Abstract>
<ows:Identifier>LandCover</ows:Identifier>
<ows:Metadata xlink:role="http://www.opengis.net//tb13/eoc/applicationContext">
<eoc:ApplicationContext>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:owc="http://www.opengis.net/owc/1.0" xml:lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2005/Atom http://www.ogcnetwork.net/schemas/atom/2005/atom.xsd">
<title>EOC Land Cover Application Package</title>
<subtitle type="text">Landcover EOC APP PKG</subtitle>
<id>http://www.opengis.net/tb13/eoc/examples/app_pkg/langcover</id>
<updated>2017-08-15T01:28:00Z</updated>
<link rel="profile" href="http://www.opengis.net/spec/owc-atom/1.0/req/core" title="This file is compliant with version 1.0 of OGC Context"/>
<author>
<name>Panagiotis (Peter) A. Vretanos</name>
</author>
<entry>
<title>EOC Land Cover Application</title>
<id>http://www.opengis.net/tb13/eoc/LandCover</id>
<updated>2017-09-04T15:23:09Z</updated>
<content type="html">EOC Land Cover Application <br/> Lang Cover Mapping is based on the Sentinel-2 processing workflow generated for the F-TEP platform.</content>
<!-- DockerImage offering -->
<owc:offering code="http://www.opengis.net/tb13/eoc/docker">
<owc:content type="text/plain">registry.hub.docker.com/cnlspacebel/landcover</owc:content>
</owc:offering>
</entry>
<entry>
<title>OpenSearch Collections</title>
<id>http://www.opengis.net/tb13/eoc/OS_Collections</id>
<updated>2017-09-04T15:23:09Z</updated>
<content type="html">EOC OpenSearch Collections <br/> Lang Cover Mapping is based on the Sentinel-2 data that can be discovered using several locations.</content>
<!-- OpenSearch offering for IPT Poland -->
<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>
<!-- OpenSearch offering for AWS -->
<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>
</entry>
</feed>
</eoc:ApplicationContext>
</ows:Metadata>
<wps:Input>
<ows:Title>Sentinel-2 Image</ows:Title>
<ows:Abstract>URL 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:Identifier>Image</ows:Identifier>
<wps:ComplexData>
<wps:Format mimeType="text/directory" default="true"/>
</wps:ComplexData>
</wps:Input>
<wps:Input minOccurs="0">
<ows:Title>Reference Data</ows:Title>
<ows:Abstract>Representative 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:Identifier>ReferenceData</ows:Identifier>
<wps:ComplexData>
<wps:Format mimeType="application/zip" encoding="base64" default="true"/>
</wps:ComplexData>
</wps:Input>
<wps:Input>
<ows:Title>Area Of Interest</ows:Title>
<ows:Identifier>AreaOfInterest</ows:Identifier>
<wps:LiteralData>
<!-- Not sure if WKT has a MIME type -->
<wps:Format mimeType="text/plain" default="true"/>
<LiteralDataDomain default="true">
<ows:AnyValue/>
<ows:DataType ows:reference="http://www.w3.org/2001/XMLSchema#string">String</ows:DataType>
<ows:DefaultValue>POLYGON((-92.906633 16.190411,-92.066559 16.188383,-92.070266 15.376645,-92.907004 15.378567,-92.906633 16.190411))</ows:DefaultValue>ows:DefaultValue>
</LiteralDataDomain>
</wps:LiteralData>
</wps:Input>
<wps:Input>
<ows:Title>EPSG Code</ows:Title>
<ows:Abstract>Coordinate reference system expressed as a code from the EPSG database using the format "EPSG:NNNN".</ows:Abstract>
<ows:Identifier>EPSGCode</ows:Identifier>
<wps:LiteralData>
<wps:Format mimeType="text/plain" default="true"/>
<LiteralDataDomain>
<ows:ValuesReference ows:reference="http://...."/>
<ows:DataType ows:reference="http://www.w3.org/2001/XMLSchema#string">String</ows:DataType>
<ows:DefaultValue>EPSG:4326</ows:DefaultValue>
</LiteralDataDomain>
</wps:LiteralData>
</wps:Input>
<wps:Input minOccurs="0">
<ows:Title>Target Resolution</ows:Title>
<ows:Abstract>Some description of what the target resolution means.</ows:Abstract>
<ows:Identifier>TargetResolution</ows:Identifier>
<wps:LiteralData>
<wps:Format mimeType="text/plain" default="true"/>
<LiteralDataDomain>
<ows:AnyValue/>
<ows:DataType ows:reference="http://www.w3.org/2001/XMLSchema#long">Long Integer</ows:DataType>
<ows:DefaultValue>20</ows:DefaultValue>
</LiteralDataDomain>
</wps:LiteralData>
</wps:Input>
<wps:Output>
<ows:Title>GeoTIF Image</ows:Title>
<ows:Abstract>Labeled GeoTIF file containing, for each pixel, one of the class codes specified in the training reference data.</ows:Abstract>
<ows:Identifier>Image_Result</ows:Identifier>
<wps:ComplexData>
<wps:Format mimeType="image/tiff" default="true"/>
</wps:ComplexData>
</wps:Output>
</wps:Process>
</wps:ProcessOffering>