gw_fct_setlinktonetwork - Giswater/giswater_dbmodel GitHub Wiki
Description
Massive builder assistant. This function builts as many link/vnodes as user connec/gully selects.
Input example
SELECT gw_fct_setlinktonetwork($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{"id":["3201","3200","3114"]},
"data":{"feature_type":"CONNEC"}}$$);
Output example
{
"status": "Accepted",
"message": {
"level": 3,
"text": "Process done successfully"
},
"version": "3.4.021",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": [
{
"id": 2862,
"message": "CONNECT TO NETWORK"
},
{
"id": 2863,
"message": "-------------------------------------------------------------"
},
{
"id": 2864,
"message": "Connect connec with id 3201."
},
{
"id": 2865,
"message": "Connect feature with the closest arc."
},
{
"id": 2866,
"message": "Recreate final vnode"
},
{
"id": 2867,
"message": "Recreate link"
},
{
"id": 2868,
"message": "Update mapzone values."
},
{
"id": 2869,
"message": "Connect connec with id 3200."
},
{
"id": 2870,
"message": "Connect feature with the closest arc."
},
{
"id": 2871,
"message": "Recreate final vnode"
},
{
"id": 2872,
"message": "Recreate link"
},
{
"id": 2873,
"message": "Update mapzone values."
},
{
"id": 2874,
"message": "Connect connec with id 3114."
},
{
"id": 2875,
"message": "Connect feature with the closest arc."
},
{
"id": 2876,
"message": "Recreate final vnode"
},
{
"id": 2877,
"message": "Recreate link"
},
{
"id": 2878,
"message": "Update mapzone values."
}
]
},
"setVisibleLayers": [],
"point": {
"geometryType": "",
"features": []
},
"line": {
"geometryType": "",
"features": []
},
"polygon": {
"geometryType": "",
"features": []
}
},
"actions": {
"hideForm": false
}
}
}