gw_fct_anl_node_duplicated - Giswater/giswater_dbmodel GitHub Wiki
Description
Network analysis to check how many nodes are duplicated
Input example
SELECT gw_fct_anl_node_duplicated($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{}, "feature":{"tableName":"v_edit_node", "featureType":"NODE", "id":[]},
"data":{"filterFields":{}, "pageInfo":{}, "selectionMode":"wholeSelection",
"parameters":{"nodeTolerance":"0.01", "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": [
419598.612344125,
4576460.09364868
]
},
"properties": {
"id": 43,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "250",
"descript": null,
"state_aux": 1,
"nodecat_id": "VIR_NODE-01",
"node_id_aux": "237",
"nodecat_id_aux": "CHAMBER-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419598.612344125,
4576460.09364868
]
},
"properties": {
"id": 42,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "250",
"descript": null,
"state_aux": 1,
"nodecat_id": "VIR_NODE-01",
"node_id_aux": "20590",
"nodecat_id_aux": "JUNCTION-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419597.71911167,
4576460.64008965
]
},
"properties": {
"id": 41,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "237",
"descript": null,
"state_aux": 1,
"nodecat_id": "CHAMBER-01",
"node_id_aux": "250",
"nodecat_id_aux": "VIR_NODE-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419597.71911167,
4576460.64008965
]
},
"properties": {
"id": 40,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "237",
"descript": null,
"state_aux": 1,
"nodecat_id": "CHAMBER-01",
"node_id_aux": "20590",
"nodecat_id_aux": "JUNCTION-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419597.71911167,
4576460.64008965
]
},
"properties": {
"id": 39,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "237",
"descript": null,
"state_aux": 1,
"nodecat_id": "CHAMBER-01",
"node_id_aux": "20587",
"nodecat_id_aux": "JUNCTION-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419599.14397215,
4576461.022287
]
},
"properties": {
"id": 38,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "20590",
"descript": null,
"state_aux": 1,
"nodecat_id": "JUNCTION-01",
"node_id_aux": "250",
"nodecat_id_aux": "VIR_NODE-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419599.14397215,
4576461.022287
]
},
"properties": {
"id": 37,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "20590",
"descript": null,
"state_aux": 1,
"nodecat_id": "JUNCTION-01",
"node_id_aux": "237",
"nodecat_id_aux": "CHAMBER-01"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419596.80173189,
4576461.22464037
]
},
"properties": {
"id": 36,
"fid": 106,
"state": 1,
"expl_id": 1,
"node_id": "20587",
"descript": null,
"state_aux": 1,
"nodecat_id": "JUNCTION-01",
"node_id_aux": "237",
"nodecat_id_aux": "CHAMBER-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": 2108
}
}
}