| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

Functions
Map Kernel Metadata Functions

## Functions

TL_DLL bool | createKernelMetadataTable (TeDatabase *db)
TL_DLL bool | insertKernelMetadata (TeDatabase *db, TeKernelParams &kernelPar)
TL_DLL bool | updateKernelMetadata (TeDatabase *db, TeKernelParams &kernelPar)
TL_DLL bool | loadKernelParams (TeDatabase *db, int supThemeId, const string &supTableName, const string &supAttrName, TeKernelParams &KernelPar)
TL_DLL bool | loadKernelParams (TeDatabase *db, int LayerId, TeKernelParams &KernelPar)

## Detailed Description

A set of functions to persist in a TerraLib database the metadata associated to Kernel Map algorithm.

See also:
  TeKernelParams.h

## Function Documentation

TL_DLL bool createKernelMetadataTable | ( | TeDatabase * | db | ) |

Creates a table to store information about the results of the Kernel map algorithm

Parameters:

  db | pointer do a TerraLib database

TL_DLL bool insertKernelMetadata | ( | TeDatabase * | db,
|  | TeKernelParams & | kernelPar
| ) |  |

Saves the parameters associated to the execution of a Kernel Map algorithm in a TerraLib database

Parameters:

  db | pointer do a TerraLib database
  kernelPar | reference to a structure of parameters associated to a Kernel Map

TL_DLL bool loadKernelParams | ( | TeDatabase * | db,
|  | int | supThemeId,
|  | const string & | supTableName,
|  | const string & | supAttrName,
|  | TeKernelParams & | KernelPar
| ) |  |

Loads some stored Kernel parameters associated to a theme used as the support to the Kernel Map

Parameters:

  db | pointer do a TerraLib database
  supThemeId | identifier of the theme that has the support to the Kernel Map
  supTableName | name of the attribute table has stores the Kernel result
  supAttrName | name of the column table has stores the Kernel result
  KernelPar | reference to a structure of parameters associated to a Kernel Map

TL_DLL bool loadKernelParams | ( | TeDatabase * | db,
|  | int | LayerId,
|  | TeKernelParams & | KernelPar
| ) |  |

Loads some stored Kernel parameters associated to a layer

Parameters:

  db | pointer do a TerraLib database
  LayerId | identifier layer
  KernelPar | reference to a structure of parameters associated to a Kernel Map

TL_DLL bool updateKernelMetadata | ( | TeDatabase * | db,
|  | TeKernelParams & | kernelPar
| ) |  |

Updates in the database the parameters associated to the execution of a Kernel Map -- inserts if it does not exist

Parameters:

  db | pointer do a TerraLib database
  kernelPar | reference to a structure of parameters associated to a Kernel Map

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines