简要描述
- 输入一条管线和多个图层要素信息,判断管线与所有图层的水平净距、垂直净距以及埋深等信息
请求URL
http://192.168.19.21:9999/geniusserver/processservices
服务名称
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
features |
是 |
Reference |
线图层 |
_buried_depth |
是 |
string |
深度 |
_crs |
是 |
string |
输出坐标系 |
_rect |
是 |
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:PipeCoverSoil</ows:Identifier>
<wps:DataInputs>
<Input>
<ows:Identifier>features</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>_buried_depth</ows:Identifier>
<wps:Data>
<wps:LiteralData>1</wps:LiteralData>
</wps:Data>
</Input>
<Input>
<ows:Identifier>_crs</ows:Identifier>
<wps:Data>
<wps:LiteralData>EPSG:4326</wps:LiteralData>
</wps:Data>
</Input>
<Input>
<ows:Identifier>_rect</ows:Identifier>
<wps:Data>
<wps:ComplexData mimeType="application/wkt"><![CDATA[LineString (461341.51573106419527903 4169653.48689360683783889, 461732.46055839484324679 4169643.61454948224127293)]]></wps:ComplexData>
</wps:Data>
</Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:RawDataOutput>
<ows:Identifier>result</ows:Identifier>
</wps:RawDataOutput>
</wps:ResponseForm>
</wps:Execute>
返回示例
{
"result_list": [
{
"bigType": "电力",
"buried_depth_e": "22.220",
"buried_depth_s": "12.220",
"buryType": "A",
"codeid": "111",
"geometry": "",
"gid": "11",
"min_buired_depth": "12.220",
"pipeSize": "2222",
"pipe_section": "21.12-12.12",
"scale": 21,
"smallType": "路灯",
"type": "guanxianxian",
"us_id": "1111",
"x": 121.24692414643455,
"y": 37.55682196734996
}
]
}
返回参数说明
参数名 |
类型 |
说明 |
bigType |
string |
大类 |
smallType |
string |
小类 |
buried_depth_e |
string |
管线埋深终止 |
buried_depth_s |
string |
管线埋深起始 |
buryType |
string |
埋设方式 |
min_buried_depth |
string |
最小埋深 |
pipeSize |
string |
管径 |
scale |
string |
范围 |
x |
string |
交叉点x |
y |
string |
交叉点y |
备注