-
Notifications
You must be signed in to change notification settings - Fork 11
gw_fct_import_swmm_inp
Edgar Fuste edited this page Nov 2, 2021
·
1 revision
"Function to import network data from swmm inp file into database. Create subcatchment geometry will store on database all information related hydrological model of SWMM"
SELECT gw_fct_import_swmm_inp($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{}, "feature":{},
"data":{"filterFields":{}, "pageInfo":{},
"parameters":{"createSubcGeom":"True"}}}$$)
{
"status": "Accepted",
"message": {
"level": 1,
"text": "Import inp done successfully"
},
"version": "3.4.021",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": [
{
"message": "Constraints of schema temporary disabled -> Done"
},
{
"message": "Inserting data from inp file to temp_csv table -> Done"
},
{
"message": "Creating map zones and catalogs -> Done"
},
{
"message": "Setting selectors -> Done"
},
{
"message": "WARNING: Values of options / times / report are not updated. Default values of Giswater are keeped"
},
{
"message": "Inserting data into tables using vi_* views -> Done"
},
{
"message": "WARNING: Controls rules will be stored on inp_controls_inmortinp table. This is a temporary table. Data need to be moved to inp_controls_x_arc table to be used later"
},
{
"message": "Creating arc geometry from extremal nodes and intermediate vertex -> Done"
},
{
"message": "WARNING: Link geometries as ORIFICE, WEIRS, PUMPS AND OULETS will not transformed using reverse nod2arc strategy as nodes. It will keep as arc"
},
{
"message": "Creating subcathcment polygons -> Done"
},
{
"message": "Enabling constraints -> Done"
},
{
"message": "Process finished"
}
]
},
"point": {},
"line": {}
}
}
}