简要描述
  • 选择一条切线,输入图层列表,对每个图层做横断面分析,返回结果

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

服务名称

  • pipe:HoriSection

请求方式
  • POST

参数
参数名 必选 类型 说明
line_features Reference 所有要进行横断面分析的图层
_line wkt 横切线

请求示例
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <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">
  3. <ows:Identifier>pipe:HoriSection</ows:Identifier>
  4. <wps:DataInputs>
  5. <Input>
  6. <ows:Identifier>_line</ows:Identifier>
  7. <wps:Data>
  8. <wps:ComplexData mimeType="application/wkt"><![CDATA[LineString (461341.51573106419527903 4169653.48689360683783889, 461732.46055839484324679 4169643.61454948224127293)]]></wps:ComplexData>
  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 service="WFS" outputFormat="text/xml;subtype=gml/2.1.2" version="1.0.0">
  16. <wfs:Query typeName="yt_ysl;yt_wsl"/>
  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": "",
            "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 长度比例

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