gw_fct_anl_node_topological_consistency - Giswater/giswater_dbmodel GitHub Wiki


Description

Network analysis to check nodes with more /less arcs than value defined on cat_feature_node.num_arcs

Input example

SELECT gw_fct_anl_node_topological_consistency($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{"tableName":"v_edit_node", "id":["18","1101"]},
"data":{"selectionMode":"previousSelection", "parameters":{"saveOnDatabase":true}}}$$)

Output example

{
  "status": "Accepted",
  "message": {
    "level": 1,
    "text": "Analysis done successfully"
  },
  "version": "3.4.019",
  "body": {
    "form": {},
    "data": {
      "info": {
        "geometryType": "",
        "values": {}
      },
      "point": {
        "geometryType": "Point",
        "qmlPath": "",
        "features": [
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419229.454918825,
                4576913.22055591
              ]
            },
            "properties": {
              "id": 1901,
              "fid": 108,
              "state": 1,
              "expl_id": 1,
              "node_id": "1101",
              "descript": null,
              "nodecat_id": "SOURCE-01"
            }
          }
        ]
      },
      "setVisibleLayers": []
    },
    "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": 2302
    }
  }
}