Skip to content

gw_fct_graphanalytics_mincutzones

Barbara Rzepka edited this page Aug 4, 2022 · 1 revision

Description

"Function of graphanalytics for massive mincutzones identification. Multiple analysis is avaliable. It works applying massive mincut for the whole network of selected exploitation. Mincut id =-1 is used. To work with, be shure minsector data of the analysed network is well structured. This attribute will be used in order to optimize the analysis. You can use minsector analysis function to update it before. This analysis may take a lot of time. Be patient!!!"

Input example

SELECT gw_fct_graphanalytics_mincutzones($${
"client":{"device":4, "infoType":1, "lang":"ES"}, 
"form":{}, "feature":{}, 
"data":{"filterFields":{}, "pageInfo":{}, "parameters":{"exploitation":"[1]"}}}$$);

Output example

{
  "status": "Accepted",
  "message": {
    "level": 1,
    "text": "Mincut massive process done succesfully"
  },
  "version": "3.5.003",
  "body": {
    "form": {},
    "data": {
      "info": {
        "geometryType": "",
        "values": [
          {
            "id": 442,
            "message": "MASSIVE MINCUT ANALYSIS (fid 129 & 149)"
          },
          {
            "id": 443,
            "message": "----------------------------------------------------------------------"
          },
          {
            "id": 444,
            "message": "There are 261 arcs (state=1) on the selected exploitation(s) and all of them have minsector_id informed."
          },
          {
            "id": 445,
            "message": "Massive analysis have been done. 1 mincut's have been triggered (one by each minsector all of them using the mincut_id = -1). To check results you can query:"
          },
          {
            "id": 446,
            "message": "RESUME (fid : 129)"
          },
          {
            "id": 447,
            "message": "SELECT log_message FROM audit_log_data WHERE fid=129 AND cur_user=current_user"
          },
          {
            "id": 448,
            "message": "DETAIL (fid : 149)"
          },
          {
            "id": 449,
            "message": "SELECT log_message FROM audit_log_data WHERE fid=149 AND cur_user=current_user"
          },
          {
            "id": 450,
            "message": ""
          },
          {
            "id": 451,
            "message": "RESUME"
          },
          {
            "id": 452,
            "message": "-------------------------------------------------"
          }
        ]
      },
      "point": {},
      "line": {},
      "polygon": {}
    }
  }
}
Clone this wiki locally