ZOO-Project
Data Structures | Macros | Functions | Variables
service_internal_saga.c File Reference
#include <stdlib.h>
#include <limits.h>
#include <locale.h>
#include <wx/string.h>
#include <wx/app.h>
#include <api_core.h>
#include <data_manager.h>
#include <saga_api.h>
#include "service_internal_saga.h"
#include "server_internal.h"
#include "mimetypes.h"

Data Structures

class  SagaWatcher
 Observer used to access the ongoing status of a running OTB Application. More...
 

Macros

#define _ZOO_SAGA
 

Functions

TSG_PFNC_UI_Callback Get_Callback (SagaWatcher watcher)
 
const char * sagaGetDefaultExt (CSG_Parameter *param)
 Get the default file extension for SAGA-GIS parameter type. More...
 
bool sagaLoadInput (CSG_Parameter *param, map *arg)
 Load a datasource in the SAGA-GIS Data Manager. More...
 
bool sagaSetParameters (CSG_Parameters *params, map *argument)
 Extract all SAGA-GIS parameters from a parameters list and set its values to the one defined in the map. More...
 
bool sagaSaveOutputs (CSG_Parameters *params, maps *main_conf, maps **outputs)
 Save all values outputed by a SAGA-GIS module invocation to files. More...
 
int sagaExecuteCmd (maps **main_conf, const char *lib_name, const char *module_name, map *arguments, maps **outputs=NULL)
 Invoke the execution of a SAGA-GIS module. More...
 
int sagaExportOGR (maps **conf, maps **in)
 Export a SAGA-GIS Shapes to a file in a specific format (GML,KML,GeoJSON). More...
 
void sagaExportPC (maps **conf, maps **in)
 Export a SAGA-GIS pointcloud to a las file. More...
 
int sagaExportGDAL (maps **conf, maps **in)
 Export a SAGA-GIS Grid to a file in a specific format (tiff,hdr,aa). More...
 
int sagaExportTIN (maps **conf, maps **in, const char *tname)
 Export a SAGA-GIS TIN to a file in a specific format (GML,KML,GeoJSON). More...
 
int sagaImportGDAL (maps **conf, maps **in)
 Import GDAL Datasource into SAGA-GIS. More...
 
int sagaImportOGR (maps **conf, maps **in)
 Import OGR Datasource into SAGA-GIS. More...
 
bool sagaImportTIN (maps **conf, maps **in)
 Import TIN into SAGA-GIS. More...
 
int sagaImportTable (maps **conf, maps **in)
 Import table into SAGA-GIS. More...
 
int sagaImportPC (maps **conf, maps **in)
 Import las file as pointcloud into SAGA-GIS. More...
 
int zoo_saga_support (maps **main_conf, map *request, service *s, maps **inputs, maps **outputs)
 Load and invoke a SAGA-GIS module defined in a service metadata definitions. More...
 

Variables

int sagaOutputCounter =0
 Global SAGA-GIS output counter. More...
 

Macro Definition Documentation

#define _ZOO_SAGA

Function Documentation

TSG_PFNC_UI_Callback Get_Callback ( SagaWatcher  watcher)
int sagaExecuteCmd ( maps **  main_conf,
const char *  lib_name,
const char *  module_name,
map arguments,