gw_fct_anl_arc_intersection - Giswater/giswater_dbmodel GitHub Wiki
Description
Network analysis to check arc intersections
Input example
SELECT gw_fct_anl_arc_intersection($${"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{},
"feature":{"tableName":"v_edit_arc", "featureType":"ARC", "id":[]},
"data":{"filterFields":{}, "pageInfo":{}, "selectionMode":"wholeSelection",
"parameters":{"saveOnDatabase":"true"}}}$$);
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": [
[
419176.168,
4576489.77
],
[
419303.932,
4576470.67
]
]
},
"properties": {
"id": 1,
"fid": 109,
"state": 1,
"arc_id": "204",
"expl_id": 1,
"descript": null,
"arccat_id": "CC060",
"arc_id_aux": "219"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
419207.757,
4576448.3
],
[
419210.133,
4576488.23
]
]
},
"properties": {
"id": 2,
"fid": 109,
"state": 1,
"arc_id": "219",
"expl_id": 1,
"descript": null,
"arccat_id": "CC040",
"arc_id_aux": "204"
}
}
]
}
},
"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": 2202
}
}
}