简要描述
- 选择一条切线,输入图层列表,对每个图层做横断面分析,返回结果
请求URL
http://192.168.19.21:9999/geniusserver/processservices
服务名称
请求方式
参数
| 参数名 |
必选 |
类型 |
说明 |
| line_features |
是 |
Reference |
所有要进行横断面分析的图层 |
| _line |
是 |
wkt |
横切线 |
请求示例
<?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:HoriSection</ows:Identifier> <wps:DataInputs> <Input> <ows:Identifier>_line</ows:Identifier> <wps:Data> <wps:ComplexData mimeType="application/wkt"><![CDATA[LineString (461341.51573106419527903 4169653.48689360683783889, 461732.46055839484324679 4169643.61454948224127293)]]></wps:ComplexData> </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 service="WFS" outputFormat="text/xml;subtype=gml/2.1.2" version="1.0.0"> <wfs:Query typeName="yt_ysl;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>
返回示例
{
"result_list": [{
"id": "",
"type": "",
"road_name": "",
"ground_high": "",
"pipe_high": "",
"buried_depth": "",
"pipe_size": "",
"hori_space": "",
"vert_space": "",
"point_x": "",
"point_y": "",
"layer_name": "",
"length_scale": ""
}, ...]
}
返回参数说明
| 参数名 |
类型 |
说明 |
| id |
string |
编号 |
| road_name |
string |
道路名称 |
| type |
string |
管线种类 |
| ground_high |
string |
地面高程 |
| pipe_high |
string |
管线高程 |
| buried_depth |
string |
埋深 |
| pipe_size |
string |
管径 |
| hori_space |
string |
水平间距 |
| vert_space |
string |
垂直间距 |
| point_x |
string |
交叉点x |
| point_y |
string |
交叉点y |
| layerName |
string |
图层名 |
| length_scale |
string |
长度比例 |
备注