| TerraLib 4.1

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

- File List
- File Members

Classes | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/shapelib/TeDriverSHPDBF.h File Reference
`#include "../../kernel/TeTable.h"`
`#include "../../kernel/TeSTElementSet.h"`
`#include "../../kernel/TeDataTypes.h"`
`#include "../../kernel/TeMultiGeometry.h"`
`#include "../../../shapelib/shapefil.h"`
`#include "TeSHPDefines.h"`
`#include <string>`
`#include "../../kernel/TeGeoDataDriver.h"`

Go to the source code of this file.

## Classes

class | TeShapefileDriver
| Concrete implementation of a driver shapefiles. More...

## Functions

SHP_DLL bool | TeReadDBFAttributeList (const string &dbfFileName, TeAttributeList &attList)
SHP_DLL bool | TeReadDBFAttributes (const string &dbfFileName, TeTable &table, int nrecords=-1, int rinitial=0, bool createAuto=false)
SHP_DLL bool | TeImportDBFTable (const string &dbfFileName, TeDatabase *db, TeLayer *layer=0, TeAttrTableType tableType=TeAttrExternal, string objectIdAtt="object_id_")
SHP_DLL void | TeDBFRowDecode (DBFHandle &dbfHandle, int nr, TeTableRow &row)
| Decodify a row of a DBF into a TeTableRow structure.
SHP_DLL void | TeSHPPointDecode (SHPObject *psShape, TePointSet &ps, string &objectId)
| Decodify a ShapeObject into a TerraLib point set.
SHP_DLL void | TeSHPPolyLineDecode (SHPObject *psShape, TeLineSet &ls, string &objectId)
| Decodify a ShapeObject into a TerraLib line set.
SHP_DLL void | TeSHPPolygonDecode (SHPObject *psShape, TePolygonSet &pols, string &objectId)
| Decodify a ShapeObject into a TerraLib polygon set.
SHP_DLL bool | TeDecodeShape (SHPObject *psShape, TeMultiGeometry &geomestries, string &objectId)
| Decodify a ShapeObject into a TerraLib multigeometry set.
SHP_DLL bool | TeGetSHPInfo (std::string shpfileName, unsigned int &nShapes, TeBox &box, TeGeomRep &rep)
SHP_DLL TeLayer * | TeImportShape (const string &shpFileName, TeDatabase *db, const string &layerName="")
SHP_DLL bool | TeImportShape (TeLayer *layer, const string &shpFileName, string attrTableName="", string objectIdAttr="", unsigned int chunkSize=60, const bool &useTransaction=true)
SHP_DLL bool | TeExportQuerierToShapefile (TeQuerier *querier, const std::string &baseName)
SHP_DLL bool | TeExportThemeToShapefile (TeTheme *theme, TeSelectedObjects selOb=TeAll, const std::string &baseName="", const std::vector< std::string > attributes=std::vector< std::string >())
SHP_DLL bool | TeExportLayerToShapefile (TeLayer *layer, const string &baseName="")
SHP_DLL bool | TeExportShapefile (TeLayer *layer, const string &shpFileName, const string &tableName, const string &restriction="")
SHP_DLL bool | TeExportPolygonSet2SHP (const TePolygonSet &ps, const string &base_file_name)
SHP_DLL bool | TeSTOSetBuildSHP (TeSTElementSet &stoset, const string &fileName)
| Builds the spatial object set from database according to the restrictions previously defined.
SHP_DLL DBFHandle | TeCreateDBFFile (const string &dbfFilename, TeAttributeList &attList)
SHP_DLL void | TeWriteDataProjectionToFile (TeProjection *projection, const std::string &fileName)

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines