简要描述
  • 输入一条管线和多个图层要素信息,判断管线与所有图层的水平净距、垂直净距以及埋深等信息

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

服务名称

  • pipe:PipeCoverSoil

请求方式
  • POST

参数
参数名 必选 类型 说明
features Reference 线图层
_buried_depth string 深度
_crs string 输出坐标系
_rect 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:PipeCoverSoil</ows:Identifier>
  4. <wps:DataInputs>
  5. <Input>
  6. <ows:Identifier>features</ows:Identifier>
  7. <wps:Reference mimeType="text/xml;subtype=gml/2.1.2" method="POST" xlink:href="http://geniusserver/wfs/shouguangguanxian">
  8. <wps:Body>
  9. <wfs:GetFeature outputFormat="text/xml;subtype=gml/2.1.2" service="WFS" version="1.0.0">
  10. <wfs:Query typeName="yt_wsl"/>
  11. </wfs:GetFeature>
  12. </wps:Body>
  13. </wps:Reference>
  14. </Input>
  15. <Input>
  16. <ows:Identifier>_buried_depth</ows:Identifier>
  17. <wps:Data>
  18. <wps:LiteralData>1</wps:LiteralData>
  19. </wps:Data>
  20. </Input>
  21. <Input>
  22. <ows:Identifier>_crs</ows:Identifier>
  23. <wps:Data>
  24. <wps:LiteralData>EPSG:4326</wps:LiteralData>
  25. </wps:Data>
  26. </Input>
  27. <Input>
  28. <ows:Identifier>_rect</ows:Identifier>
  29. <wps:Data>
  30. <wps:ComplexData mimeType="application/wkt"><![CDATA[LineString (461341.51573106419527903 4169653.48689360683783889, 461732.46055839484324679 4169643.61454948224127293)]]></wps:ComplexData>
  31. </wps:Data>
  32. </Input>
  33. </wps:DataInputs>
  34. <wps:ResponseForm>
  35. <wps:RawDataOutput>
  36. <ows:Identifier>result</ows:Identifier>
  37. </wps:RawDataOutput>
  38. </wps:ResponseForm>
  39. </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

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