gw_fct_graphanalytics_upstream - Giswater/giswater_dbmodel GitHub Wiki
Function to identify network elements (arcs, nodes, connecs and gullies) upstream from selected node.
SELECT gw_fct_graphanalytics_upstream($${
"client":{"device":4, "infoType":1, "lang":"ES", "cur_user":"test_user"},
"feature":{"id":["18864"]},
"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 trace 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": "2218"
},
"line": {
"style": "qml",
"id": "2218"
}
},
"functionId": 2218
},
"layerManager": {
"functionId": 2218,
"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
}
}
]
}
}
}