gw_fct_setarcdivide - Giswater/giswater_dbmodel GitHub Wiki
Description
Used to divide one arc into two new ones, by inserting a node.
Input example
SELECT gw_fct_setarcdivide($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{"id":["119"]},
"data":{}}$$)
Output example
{
"status": "Accepted",
"message": {
"level": 3,
"text": "Arc divide done successfully"
},
"version": "3.5.002",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": [
{
"id": 3576,
"message": "ARC DIVIDE"
},
{
"id": 3577,
"message": "-------------------------------------------------------------"
},
{
"id": 3578,
"message": "Divide arc 100022."
},
{
"id": 3579,
"message": "Insert new arcs into arc table."
},
{
"id": 3580,
"message": "Arc1: arc_id:100023, code:100023 length:40.00."
},
{
"id": 3581,
"message": "Arc1: arc_id:100024, code:100024 length:40.00."
},
{
"id": 3582,
"message": "Insert new arcs into man and epa table."
},
{
"id": 3583,
"message": "Update values of arcs node_1 and node_2."
},
{
"id": 3584,
"message": "Copy addfields from old to new arcs."
},
{
"id": 3585,
"message": "Copy 2 elements from old to new arcs."
},
{
"id": 3586,
"message": "Copy 6 documents from old to new arcs."
},
{
"id": 3587,
"message": "Copy 2 visits from old to new arcs."
},
{
"id": 3588,
"message": "Update arc_id on node."
},
{
"id": 3603,
"message": "Reconnect 3 connecs with state 1."
},
{
"id": 3621,
"message": "Reconnect 3 gullies with state 1."
},
{
"id": 3622,
"message": "Delete old arc: 100022."
}
]
},
"point": {
"geometryType": "",
"features": []
},
"line": {
"geometryType": "",
"features": []
},
"polygon": {
"geometryType": "",
"features": []
}
},
"actions": {
"hideForm": false
}
}
}