简要描述
- 选择一个区域,输入需要进行垂直净距分析的所有图层,然后计算每个要素与另一个要素的垂直净距
请求URL
http://192.168.19.21:9999/geniusserver/processservices
服务名称
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
line_features |
是 |
Reference |
要进行垂直净距分析的所有图层 |
rect |
是 |
wkt |
区域 |
请求示例
<?xml version="1.0" encoding="utf-8"?>
<wps:Execute xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ows="http://www.opengis.net/ows/1.1" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:gml="http://www.opengis.net/gml" version="1.0.0" service="WPS" xmlns:xlink="http://www.w3.org/1999/xlink">
<ows:Identifier>pipe:VertClearanceRect</ows:Identifier>
<wps:DataInputs>
<Input>
<ows:Identifier>line_features</ows:Identifier>
<wps:Reference mimeType="text/xml;subtype=gml/2.1.2" method="POST" xlink:href="http://geniusserver/wfs/kaifaquguanxian">
<wps:Body>
<wfs:GetFeature outputFormat="text/xml;subtype=gml/2.1.2" service="WFS" version="1.0.0">
<wfs:Query typeName="yt_wsl;yt_ysl"/>
</wfs:GetFeature>
</wps:Body>
</wps:Reference>
</Input>
<Input>
<ows:Identifier>rect</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="application/wkt" crs="EPSG:4326"><![CDATA[POLYGON ((121.24688955691973 37.55684133338002, 121.24689814545557 37.556839795038975, 121.2469061903895 37.55683695797374, 121.2469133825592 37.55683293121104, 121.24691944557364 37.55682786949689, 121.24692414643455 37.55682196734996, 121.2469273044905 37.55681545158629, 121.24692879837914 37.55680857260286, 121.24692857069121 37.55680159475511, 121.24692663017663 37.55679478619781, 121.24692305140826 37.55678840858009, 121.24691797191616 37.55678270699036, 121.24691158690237 37.5567779005377, 121.24690414173939 37.556774173931565, 121.24689592254067 37.556771670383526, 121.24688724516541 37.556770486103645, 121.24687844308026 37.55677066660319, 121.24619044308025 37.55683866663545, 121.2461818545444 37.55684020497653, 121.24617380961048 37.55684304204162, 121.24616661744078 37.55684706880379, 121.24616055442635 37.55685213051664, 121.24615585356545 37.55685803266117, 121.24615269550948 37.556864548421125, 121.24615120162083 37.556871427399386, 121.24615142930877 37.556878405240596, 121.24615336982336 37.55688521379025, 121.24615694859173 37.55689159139968, 121.24616202808382 37.55689729298109, 121.24616841309762 37.55690209942605, 121.24617585826059 37.55690582602578, 121.2461840774593 37.55690832956932, 121.24619275483458 37.55690951384701, 121.24620155691973 37.5569093333478, 121.24688955691973 37.55684133338002))]]></wps:ComplexData>
</wps:Data>
</Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput>
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
返回示例
{"result_list":
[{
"id": "",
"type_a": "",
"type_b": "",
"small_type_a":"",
"small_type_b":"",
"ground_high_a": "",
"ground_high_b": "",
"buried_depth_a": "",
"buried_depth_b": "",
"pipe_size_a": "",
"pipe_size_b": "",
"vert_space": "",
"point_x": "",
"point_y": ""
}, ...]
}}
返回参数说明
参数名 |
类型 |
说明 |
type_a |
string |
管线a种类 |
type_b |
string |
管线b种类 |
small_type_a |
string |
管线a小类 |
small_type_b |
string |
管线b小类 |
ground_high_a |
string |
管线a地面高程 |
ground_high_b |
string |
管线b地面高程 |
buried_depth_a |
string |
管线a埋深 |
buried_depth_b |
string |
管线b埋深 |
pipe_size_a |
string |
管线a管径 |
pipe_size_b |
string |
管线b管径 |
vert_space |
string |
垂直净距 |
point_x |
string |
交叉点x坐标 |
point_y |
string |
交叉点y坐标 |
备注