Skip to content

gw_fct_anl_node_sink

Edgar Fuste edited this page Nov 2, 2021 · 1 revision

Description

Network analysis to check connected nodes without exit arcs.

Input example

SELECT gw_fct_anl_node_sink($${
"client":{"device":4, "infoType":1, "lang":"ES"}, 
"form":{}, 
"feature":{"tableName":"v_edit_node", "featureType":"NODE", "id":[]}, 
"data":{"filterFields":{}, "pageInfo":{}, "selectionMode":"wholeSelection",
"parameters":{}}}$$);

Output example

{
  "status": "Accepted",
  "message": {
    "level": 1,
    "text": "Analysis done successfully"
  },
  "version": "3.5.002",
  "body": {
    "form": {},
    "data": {
      "info": {
        "geometryType": "",
        "values": {}
      },
      "point": {
        "geometryType": "Point",
        "features": [
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                418670.685876862,
                4578106.61798824
              ]
            },
            "properties": {
              "id": 35,
              "fid": 113,
              "state": 1,
              "expl_id": null,
              "node_id": "18888",
              "descript": null,
              "nodecat_id": "C_MANHOLE_100"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                418723.937597862,
                4577570.23124967
              ]
            },
            "properties": {
              "id": 34,
              "fid": 113,
              "state": 1,
              "expl_id": null,
              "node_id": "18967",
              "descript": null,
              "nodecat_id": "C_MANHOLE_100"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419639.831361578,
                4576432.31149279
              ]
            },
            "properties": {
              "id": 33,
              "fid": 113,
              "state": 1,
              "expl_id": null,
              "node_id": "240",
              "descript": null,
              "nodecat_id": "C_MANHOLE_100"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419269.739650903,
                4576858.57679372
              ]
            },
            "properties": {
              "id": 32,
              "fid": 113,
              "state": 1,
              "expl_id": null,
              "node_id": "236",
              "descript": null,
              "nodecat_id": "WWTP-01"
            }
          }
        ]
      }
    },
    "returnManager": {
      "style": {
        "point": {
          "style": "unique",
          "values": {
            "width": 3,
            "color": [
              255,
              1,
              1
            ],
            "transparency": 0.5
          }
        },
        "line": {
          "style": "unique",
          "values": {
            "width": 3,
            "color": [
              255,
              1,
              1
            ],
            "transparency": 0.5
          }
        },
        "polygon": {
          "style": "unique",
          "values": {
            "width": 3,
            "color": [
              255,
              1,
              1
            ],
            "transparency": 0.5
          }
        }
      },
      "functionId": 2210
    }
  }
}
Clone this wiki locally