wps/src/main/webapp/examples/localWPSFiles/xmlDescriptions/Analysis/Extract/Select.xml

70 lines
3.4 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.analysis.extract.select</ows:Identifier><!-- ParameterCount=3 -->
<ows:Title>Select_analysis</ows:Title>
<ows:Abstract>Extracts features from an input feature class or input feature layer and stores them in a new output feature class. The output feature class may be created with a subset of features based on a Structured Query Language (SQL) expression. Uses ArcObjects library - Analysis</ows:Abstract>
<DataInputs>
<Input minOccurs="1" maxOccurs="1">
<ows:Identifier>in_features</ows:Identifier><!-- 0 -->
<ows:Title>in features</ows:Title>
<ows:Abstract>The input feature class or layer from which features are selected.</ows:Abstract>
<ComplexData>
<Default>
<Format>
<MimeType>application/x-zipped-shp</MimeType>
<Schema></Schema>
</Format>
</Default>
<Supported>
<Format>
<MimeType>application/x-zipped-shp</MimeType>
<Schema></Schema>
</Format>
</Supported>
</ComplexData>
</Input>
<Input minOccurs="0" maxOccurs="1">
<ows:Identifier>where_clause</ows:Identifier><!-- 2 -->
<ows:Title>where clause</ows:Title>
<ows:Abstract>An expression used to select a subset of features.
In the command line, the {where_clause} should be enclosed in parentheses, as it will contain spaces which are delimiters between parameters. Another option is to right-click on the command line and select Insert Variable (or use the F8 shortcut).
The syntax for the expression differs slightly depending on the data source. For example, if you're querying file or ArcSDE geodatabases, shapefiles, or coverages, enclose field names in double quotes:
"MY_FIELD" If you're querying personal geodatabases, enclose fields in square brackets:
[MY_FIELD] For more information on SQL syntax and how it differs between data sources, see SQL Reference.</ows:Abstract>
<LiteralData>
<ows:DataType ows:reference="xs:string"></ows:DataType>
<ows:AnyValue/>
</LiteralData>
</Input>
</DataInputs>
<ProcessOutputs>
<Output>
<ows:Identifier>out_feature_class</ows:Identifier><!-- 1 -->
<ows:Title>out feature class</ows:Title>
<ows:Abstract>The output feature class to be created. This feature class will contain all the features from the input if no expression is specified.</ows:Abstract>
<ComplexOutput>
<Default>
<Format>
<MimeType>application/x-zipped-shp</MimeType>
<Schema></Schema>
</Format>
</Default>
<Supported>
<Format>
<MimeType>application/x-zipped-shp</MimeType>
<Schema></Schema>
</Format>
<Format>
<MimeType>text/XML</MimeType>
<Schema>http://schemas.opengis.net/gml/2.1.2/feature.xsd</Schema>
</Format>
</Supported>
</ComplexOutput>
</Output>
</ProcessOutputs>
</ProcessDescription>
</wps:ProcessDescriptions>