简要描述
- 选择同一图层相接的几条管段,输入管段所在的图层,对管段进行纵断面分析,返回结果
请求URL
http://192.168.19.21:9999/geniusserver/processservices
服务名称
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
_gids |
是 |
string |
管线gid。用;隔开 |
line_features |
是 |
Reference |
管段所在图层 |
请求示例
<?xml version="1.0" encoding="utf-8"?>
<wps:Execute xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" service="WPS" version="1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ogc="http://www.opengis.net/ogc" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcs="http://www.opengis.net/wcs/1.1.1">
<ows:Identifier>VertSection</ows:Identifier>
<wps:DataInputs>
<Input>
<ows:Identifier>_gids</ows:Identifier>
<wps:Data>
<wps:LiteralData>10411;12318;12319</wps:LiteralData>
</wps:Data>
</Input>
<Input>
<ows:Identifier>line_features</ows:Identifier>
<wps:Reference mimeType="text/xml;subtype=gml/2.1.2" xlink:href="http://geniusserver/wfs/shouguangguanxian" method="POST">
<wps:Body>
<wfs:GetFeature outputFormat="text/xml;subtype=gml/2.1.2" service="WFS" version="1.0.0">
<wfs:Query typeName="yt_ysl"/>
</wfs:GetFeature>
</wps:Body>
</wps:Reference>
</Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput>
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
返回示例
{
"result_list": [{
"id": "",
"road_name": "",
"slope":"",
"ground_high_q": "",
"ground_high_z": "",
"pipe_high_q": "",
"pipe_high_z": "",
"buried_depth_q": "",
"buried_depth_z": "",
"pipe_size": "",
"length": "",
"q_x": "",
"q_y": "",
"z_x": "",
"z_y": ""
}, ...]
}
返回参数说明
参数名 |
类型 |
说明 |
id |
string |
编号 |
road_name |
string |
道路名称 |
slope |
string |
坡度(单位为弧度) |
ground_high_q |
string |
起点地面高程 |
ground_high_z |
string |
终点地面高程 |
pipe_high_q |
string |
起点管线高程 |
pipe_high_z |
string |
终点管线高程 |
buried_depth_q |
string |
起点埋深 |
buried_depth_z |
string |
终点埋深 |
pipe_size |
string |
管径 |
length |
string |
长度 |
q_x |
string |
起点x |
q_y |
string |
起点y |
z_x |
string |
终点x |
z_y |
string |
终点y |
备注