gw_fct_graphanalytics_downstream - Giswater/giswater_dbmodel GitHub Wiki
Function to identify network elements (arcs, nodes, connecs and gullies) downstream from selected node.
SELECT gw_fct_graphanalytics_downstream($${
"client":{"device":4, "infoType":1, "lang":"ES", "cur_user":"test_user"},
"feature":{"id":["20607"]},
"data":{}}$$)
Common input parameters: (client
, form
, feature
)
Specific input parameters: (data
)
We always work with names as much autodocumented as possible. If you feel some else please request it to [email protected].
Common output parameters: (status
, message
, version
)
Specific output parameters: (body
)
We always work with names as much autodocumented as possible. If you feel some else please request it to [email protected].
{
"status": "Accepted",
"message": {
"level": 3,
"text": "Flow exit done successfully"
},
"version": "3.5.002",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": {}
},
"point": {
"geometryType": "",
"features": []
},
"line": {
"geometryType": "",
"features": []
},
"polygon": {
"geometryType": "",
"features": []
}
},
"returnManager": {
"style": {
"point": {
"style": "qml",
"id": "2214"
},
"line": {
"style": "qml",
"id": "2214"
}
},
"functionId": 2214
},
"layerManager": {
"functionId": 2214,
"visible": [
{
"v_anl_flow_node": {
"style_id": 109,
"geom_field": "the_geom",
"pkey_field": "id",
"group_layer": null
}
},
{
"v_anl_flow_gully": {
"style_id": 108,
"geom_field": "the_geom",
"pkey_field": "gully_id",
"group_layer": null
}
},
{
"v_anl_flow_connec": {
"style_id": 107,
"geom_field": "the_geom",
"pkey_field": "connec_id",
"group_layer": null
}
},
{
"v_anl_flow_arc": {
"style_id": 106,
"geom_field": "the_geom",
"pkey_field": "id",
"group_layer": null
}
}
]
}
}
}