gw_fct_import_dxfblock - Giswater/giswater_dbmodel GitHub Wiki
Description
Function to import dxf blocksEnables the possibility to import dxf blocks
Input example
SELECT gw_fct_import_dxfblock($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{},"data":{}}$$)
Output example
{
"status": "Accepted",
"message": {
"level": 0,
"text": "Process executed"
},
"version": "3.4.019",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": [
{
"id": 3387,
"message": "IMPORT DXF BLOCKS FILE"
},
{
"id": 3388,
"message": "------------------------------"
},
{
"id": 3389,
"message": "Reading values from temp_csv table -> Done"
},
{
"id": 3390,
"message": "Inserting values on temp_table as point geometry -> Done"
},
{
"id": 3391,
"message": "Deleting values from temp_csv -> Done"
},
{
"id": 3392,
"message": "Process finished"
}
]
}
}
}
}