简要描述
  • 选择同一图层相接的几条管段,输入管段所在的图层,对管段进行纵断面分析,返回结果

请求URL
  • http://192.168.19.21:9999/geniusserver/processservices

服务名称

  • pipe:VertSection

请求方式
  • POST

参数
参数名 必选 类型 说明
_gids string 管线gid。用;隔开
line_features Reference 管段所在图层

请求示例
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <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">
  3. <ows:Identifier>VertSection</ows:Identifier>
  4. <wps:DataInputs>
  5. <Input>
  6. <ows:Identifier>_gids</ows:Identifier>
  7. <wps:Data>
  8. <wps:LiteralData>10411;12318;12319</wps:LiteralData>
  9. </wps:Data>
  10. </Input>
  11. <Input>
  12. <ows:Identifier>line_features</ows:Identifier>
  13. <wps:Reference mimeType="text/xml;subtype=gml/2.1.2" xlink:href="http://geniusserver/wfs/shouguangguanxian" method="POST">
  14. <wps:Body>
  15. <wfs:GetFeature outputFormat="text/xml;subtype=gml/2.1.2" service="WFS" version="1.0.0">
  16. <wfs:Query typeName="yt_ysl"/>
  17. </wfs:GetFeature>
  18. </wps:Body>
  19. </wps:Reference>
  20. </Input>
  21. </wps:DataInputs>
  22. <wps:ResponseForm>
  23. <wps:RawDataOutput>
  24. <ows:Identifier>result</ows:Identifier>
  25. </wps:RawDataOutput>
  26. </wps:ResponseForm>
  27. </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

备注
  • 更多返回错误代码请看首页的错误代码描述