| TerraLib 4.1

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

Functions
decode
Geographical data formats | Shapefile format

## Functions

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.

## Detailed Description

Auxiliary functions to decode one shape using shapelib

## Function Documentation

SHP_DLL bool TeDecodeShape | ( | SHPObject * | psShape,
|  | TeMultiGeometry & | geomestries,
|  | string & | objectId
| ) |  |

Decodify a ShapeObject into a TerraLib multigeometry set.

Parameters:

  psShape | pointer to a shapelib shape object
  geometries | TerraLib multi geometry set to receive the geometries
  objectId | TerraLib identifier to this object

SHP_DLL void TeSHPPointDecode | ( | SHPObject * | psShape,
|  | TePointSet & | ps,
|  | string & | objectId
| ) |  |

Decodify a ShapeObject into a TerraLib point set.

Parameters:

  psShape | pointer to a shapelib shape object
  ps | TerraLib point set to receive the geometries
  objectId | TerraLib identifier to this object

SHP_DLL void TeSHPPolygonDecode | ( | SHPObject * | psShape,
|  | TePolygonSet & | pols,
|  | string & | objectId
| ) |  |

Decodify a ShapeObject into a TerraLib polygon set.

Parameters:

  psShape | pointer to a shapelib shape object
  ps | TerraLib polygon set to receive the geometries
  objectId | TerraLib identifier to this object

SHP_DLL void TeSHPPolyLineDecode | ( | SHPObject * | psShape,
|  | TeLineSet & | ls,
|  | string & | objectId
| ) |  |

Decodify a ShapeObject into a TerraLib line set.

Parameters:

  psShape | pointer to a shapelib shape object
  ps | TerraLib line set to receive the geometries
  objectId | TerraLib identifier to this object

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines