简要描述
请求URL
http://192.168.19.21:9999/geniusserver/processservices
服务名称
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
_gid_a |
是 |
string |
第一个要素的gid值 |
_features_a |
是 |
Reference |
第一个图层 |
_grid_b |
是 |
string |
第二个要素的gid值 |
_features_b |
是 |
Reference |
第二个图层 |
请求示例
<?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:HoriClearance</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>_gid_b</ows:Identifier>
<wps:Data>
<wps:LiteralData>8669</wps:LiteralData>
</wps:Data>
</Input>
<Input>
<ows:Identifier>_features_b</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>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput>
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
返回示例
{
"typeA":"aaa",
"typeB":"aaa",
"distance":""
}
返回参数说明
参数名 |
类型 |
说明 |
typeA |
string |
第一个管线类型 |
typeB |
string |
第二个管线类型 |
distance |
string |
间距 |
备注