| TerraLib 4.1

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

- File List
- File Members

Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/functions/TeImportGeo.cpp File Reference
`#include <string>`
`#include <iostream>`
`#include <vector>`
`#include <list>`
`#include <map>`
`#include <unistd.h>`
`#include "TeDriverSPRING.h"`
`#include "../kernel/TeAsciiFile.h"`
`#include "../kernel/TeBox.h"`
`#include "../kernel/TeLayer.h"`
`#include "../kernel/TeException.h"`
`#include "../kernel/TeUtils.h"`
`#include "../kernel/TeDatabase.h"`

## Functions

bool | TeImportGeoAttributes (TeLayer *layer, const string &geoFileName, string attrTableName="", unsigned int chunckSize=60)
| Import only the attributes of a GEO/TAB data to a layer TerraLib.
bool | TeImportGeoGeometries (TeLayer *layer, const string &geoFileName, unsigned int chunckSize=60)
| Import only the geometries of a GEO/TAB data to a layer TerraLib.
TeLayer * | TeImportGEO (const string &geoFileName, TeDatabase *db, const string &layerName)
bool | TeImportGEO (TeLayer *layer, const string &geoFileName, string attrTableName, unsigned int chunckSize)
void | TeReadGeoAttributeList (const string &geoFileName, TeAttributeList &attList, string &labelName)

## Function Documentation

bool TeImportGeoAttributes | ( | TeLayer * | layer,
|  | const string & | geoFileName,
|  | string | attrTableName = `""`,
|  | unsigned int | chunckSize = `60`
| ) |  |

Import only the attributes of a GEO/TAB data to a layer TerraLib.

Parameters:

  layer | pointer to a layer
  geoFileName | GEO/TAB file name
  attrTableName | the name that the attribute table will be saved
  objectIdAttr | name of the attribute that has the identification of objects
  chunckSize | the number of objects in memory before save them in the layer

bool TeImportGeoGeometries | ( | TeLayer * | layer,
|  | const string & | geoFileName,
|  | unsigned int | chunckSize = `60`
| ) |  |

Import only the geometries of a GEO/TAB data to a layer TerraLib.

Parameters:

  layer | pointer to a layer
  geoFileName | GEO/TAB file name
  chunckSize | the number of objects in memory before save them in the layer

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines