Skip to content

gw_fct_anl_connec_duplicated

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

Description

Network analysis to check many connecs are duplicated

Input example

SELECT gw_fct_anl_connec_duplicated($${
"client":{"device":4, "infoType":1, "lang":"ES"}, 
"form":{}, 
"feature":{"tableName":"v_edit_connec", "featureType":"CONNEC", "id":[]}, 
"data":{"filterFields":{}, "pageInfo":{}, "selectionMode":"wholeSelection",
"parameters":{"connecTolerance":"0.5", "saveOnDatabase":"true"}}}$$);

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": [
                419277.185095152,
                4576479.47107959
              ]
            },
            "properties": {
              "id": 1,
              "fid": 105,
              "state": 1,
              "expl_id": 1,
              "descript": null,
              "connec_id": "100020",
              "connecat_id": "PVC-CC025_T"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "Point",
              "coordinates": [
                419275.486400273,
                4576478.95638845
              ]
            },
            "properties": {
              "id": 2,
              "fid": 105,
              "state": 1,
              "expl_id": 1,
              "descript": null,
              "connec_id": "3274",
              "connecat_id": "CC025_D"
            }
          }
        ]
      }
    },
    "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": 2106
    }
  }
}
Clone this wiki locally