gw_fct_anl_arc_same_startend - Giswater/giswater_dbmodel GitHub Wiki
Description
Network analysis to check how many arcs have the same node as node1 and node2
Input example
SELECT gw_fct_anl_arc_same_startend($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{},
"feature":{"tableName":"v_edit_arc", "featureType":"ARC", "id":[]},
"data":{"filterFields":{}, "pageInfo":{}, "selectionMode":"wholeSelection",
"parameters":{}}}$$);
Output example
{
"status": "Accepted",
"message": {
"level": 1,
"text": "Analysis done successfully"
},
"version": "3.5.002",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": {}
},
"line": {
"geometryType": "LineString",
"features": [
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
419270.082,
4576441.02
],
[
419244.856879588,
4576447.2188753
],
[
419267.993290697,
4576466.33156274
],
[
419270.082,
4576441.02
]
]
},
"properties": {
"id": 8,
"fid": 104,
"state": 1,
"arc_id": "332",
"expl_id": 1,
"descript": null,
"arccat_id": "CC040"
}
}
]
}
},
"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": 2104
}
}
}