简要描述
请求URL
http://192.168.19.21:9999/geniusserver/processservices
服务名称
请求方式
参数
| 参数名 |
必选 |
类型 |
说明 |
| _gid_a |
是 |
string |
第一个要素的gid值 |
| _features_a |
是 |
Reference |
第一个图层 |
| distance |
是 |
string |
缓冲区距离 |
请求示例
<?xml version="1.0" encoding="utf-8"?><wps:Execute xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" service="WPS" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wps="http://www.opengis.net/wps/1.0.0" version="1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml" xmlns:wcs="http://www.opengis.net/wcs/1.1.1"> <ows:Identifier>pipe:PipeBuffer</ows:Identifier> <wps:DataInputs> <Input> <ows:Identifier>_gid_a</ows:Identifier> <wps:Data> <wps:LiteralData>8669</wps:LiteralData> </wps:Data> </Input> <Input> <ows:Identifier>_features_a</ows:Identifier> <wps:Reference mimeType="text/xml;subtype=gml/2.1.2" method="POST" xlink:href="http://geniusserver/wfs/shouguangguanxian"> <wps:Body> <wfs:GetFeature outputFormat="text/xml;subtype=gml/2.1.2" service="WFS" version="1.0.0"> <wfs:Query typeName="yt_wsl"/> </wfs:GetFeature> </wps:Body> </wps:Reference> </Input> <Input> <ows:Identifier>distance</ows:Identifier> <wps:Data> <wps:LiteralData>8669</wps:LiteralData> </wps:Data> </Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput mimeType="application/json"> <ows:Identifier>result</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm></wps:Execute>
返回示例
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [[[5, 25], [14, 25], [14, 29], [5, 29], [5, 25]]]
},
"properties": {}
}
返回参数说明
备注