gw_fct_anl_node_exit_upper_intro - Giswater/giswater_dbmodel GitHub Wiki


Description

Network analysis to check nodes that at least one exit arc is upper than all entry arcs.

Input example

SELECT gw_fct_anl_node_exit_upper_intro($${
"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": [
                418716.460231587,
                4577600.00343433
              ]
            },
            "properties": {
              "id": 21,
              "fid": 111,
              "state": 1,
              "expl_id": 2,
              "node_id": "18965",
              "descript": null,
              "nodecat_id": "VIR_NODE-01"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419320.96575467,
                4576629.1175467
              ]
            },
            "properties": {
              "id": 20,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "42",
              "descript": null,
              "nodecat_id": "C_MANHOLE_100"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419597.71911167,
                4576460.64008965
              ]
            },
            "properties": {
              "id": 19,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "237",
              "descript": null,
              "nodecat_id": "CHAMBER-01"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419210.133,
                4576488.23
              ]
            },
            "properties": {
              "id": 18,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "88",
              "descript": null,
              "nodecat_id": "C_MANHOLE_100"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419619.964929625,
                4576466.49425227
              ]
            },
            "properties": {
              "id": 17,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "238",
              "descript": null,
              "nodecat_id": "SEW_STORAGE-01"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419599.14397215,
                4576461.022287
              ]
            },
            "properties": {
              "id": 16,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "20590",
              "descript": null,
              "nodecat_id": "JUNCTION-01"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419596.80173189,
                4576461.22464037
              ]
            },
            "properties": {
              "id": 15,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "20587",
              "descript": null,
              "nodecat_id": "JUNCTION-01"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419618.156905267,
                4576467.08684429
              ]
            },
            "properties": {
              "id": 14,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "302",
              "descript": null,
              "nodecat_id": "VIR_NODE-01"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419621.071645297,
                4576464.18244635
              ]
            },
            "properties": {
              "id": 13,
              "fid": 111,
              "state": 1,
              "expl_id": 1,
              "node_id": "301",
              "descript": null,
              "nodecat_id": "VIR_NODE-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": 2206
    }
  }
}