wps/src/main/webapp/examples/localWPSFiles/xmlDescriptions/SpatialAnalyst/Generalization/MajorityFilter.xml

87 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<wps:ProcessDescriptions xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess_response.xsd" xml:lang="en-US" service="WPS" version="1.0.0">
<ProcessDescription wps:processVersion="2" statusSupported="true" storeSupported="true">
<ows:Identifier>org.n52.wps.ags.spatialanalyst.math.generalization.majorityfilter</ows:Identifier><!-- ParameterCount=4 -->
<ows:Title>MajorityFilter_sa</ows:Title>
<ows:Abstract>Replaces cells in a raster based on the majority of their contiguous neighboring cells. Uses ArcObjects library - Spatial Analyst</ows:Abstract>
<DataInputs>
<Input minOccurs="1" maxOccurs="1">
<ows:Identifier>in_raster</ows:Identifier><!-- 0 -->
<ows:Title>in raster</ows:Title>
<ows:Abstract>The input raster that Majority Filter will be applied to. It must be of integer type.</ows:Abstract>
<ComplexData>
<Default>
<Format>
<MimeType>application/img</MimeType>
<Schema></Schema>
</Format>
</Default>
<Supported>
<Format>
<MimeType>application/GeoTIFF</MimeType>
<Schema></Schema>
</Format>
<Format>
<MimeType>application/img</MimeType>
<Schema></Schema>
</Format>
</Supported>
</ComplexData>
</Input>
<Input minOccurs="0" maxOccurs="1">
<ows:Identifier>number_neighbors</ows:Identifier><!-- 2 -->
<ows:Title>number neighbors</ows:Title>
<ows:Abstract>The number of neighboring cells to use in the kernel of the filter. FOUR — The kernel of the filter will be the four direct (orthogonal) neighbors to the present cell. This is the default. EIGHT — The kernel of the filter will be the eight nearest neighbors (a 3 by 3 window) to the present cell.
</ows:Abstract>
<LiteralData>
<ows:DataType ows:reference="xs:string"></ows:DataType>
<ows:AllowedValues>
<ows:Value>FOUR</ows:Value>
<ows:Value>EIGHT</ows:Value>
</ows:AllowedValues>
</LiteralData>
</Input>
<Input minOccurs="0" maxOccurs="1">
<ows:Identifier>majority_definition</ows:Identifier><!-- 3 -->
<ows:Title>majority definition</ows:Title>
<ows:Abstract>The number of contiguous (spatially connected) cells that must be of the same value before a replacement will occur. MAJORITY — A majority of cells must have the same value and be contiguous. Three out of four or five out of eight connected cells must have the same value. HALF — Half of the cells must have the same value and be contiguous. Two out of four or four out of eight connected cells must have the same value. Using the Half setting will have a more smoothing effect.
</ows:Abstract>
<LiteralData>
<ows:DataType ows:reference="xs:string"></ows:DataType>
<ows:AllowedValues>
<ows:Value>MAJORITY</ows:Value>
<ows:Value>HALF</ows:Value>
</ows:AllowedValues>
</LiteralData>
</Input>
</DataInputs>
<ProcessOutputs>
<Output>
<ows:Identifier>out_raster</ows:Identifier><!-- 1 -->
<ows:Title>out raster</ows:Title>
<ows:Abstract>The raster to be created.</ows:Abstract>
<ComplexOutput>
<Default>
<Format>
<MimeType>application/img</MimeType>
<Schema></Schema>
</Format>
</Default>
<Supported>
<Format>
<MimeType>application/GeoTIFF</MimeType>
<Schema></Schema>
</Format>
<Format>
<MimeType>application/img</MimeType>
<Schema></Schema>
</Format>
</Supported>
</ComplexOutput>
</Output>
</ProcessOutputs>
</ProcessDescription>
</wps:ProcessDescriptions>