gw_fct_anl_node_proximity - Giswater/giswater_dbmodel GitHub Wiki
Description
Network analysis to check nodes within certain buffer tolerance
Input example
SELECT gw_fct_anl_node_proximity($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{"tableName":"v_edit_node", "id":["1110","1111","1075"]},
"data":{"selectionMode":"previousSelection",
"parameters":{"nodeProximity":4, "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": [
419195.678706,
4576618.93429
]
},
"properties": {
"id": 14,
"fid": 132,
"state": 1,
"expl_id": 1,
"node_id": "1110",
"descript": null,
"nodecat_id": "SHTFF-VALVE110-PN16"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
419195.037368965,
4576615.56860714
]
},
"properties": {
"id": 13,
"fid": 132,
"state": 1,
"expl_id": 1,
"node_id": "1075",
"descript": null,
"nodecat_id": "TDN110-110 PN16"
}
}
]
}
},
"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": 2914
}
}
}