| TerraLib 4.1

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

- File List
- File Members

Functions | Variables
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/functions/TeImportMIF.cpp File Reference
`#include <string>`
`#include <iostream>`
`#include <list>`
`#include <unistd.h>`
`#include "../kernel/TeTable.h"`
`#include "../kernel/TeGeometry.h"`
`#include "../kernel/TeAsciiFile.h"`
`#include "TeMIFProjection.h"`
`#include "../kernel/TeException.h"`
`#include "../kernel/TeProjection.h"`
`#include "../kernel/TeAttribute.h"`
`#include "../kernel/TeAssertions.h"`
`#include "../kernel/TeUtils.h"`
`#include "../kernel/TeLayer.h"`
`#include "../kernel/TeGeometryAlgorithms.h"`
`#include "../kernel/TeDatabase.h"`
`#include "TeDriverMIDMIF.h"`

## Functions

void | TeMIFRegionDecode (TeAsciiFile &mifFile, TePolygonSet &temp, string &index)
void | TeMIFLineDecode (TeAsciiFile &mifFile, TeLineSet &temp, string &index)
void | TeMIFPlineDecode (TeAsciiFile &mifFile, TeLineSet &temp, string &index)
void | TeMIFPointDecode (TeAsciiFile &mifFile, TePointSet &temp, string &index)
void | TeMIFMultiPointDecode (TeAsciiFile &mifFile, TePointSet &temp, string &index)
void | TeMIFTextDecode (TeAsciiFile &mifFile, TeTextSet &temp, string &index)
void | TeMIFCollectionDecode (TeAsciiFile &mifFile, TePointSet &ps, TeLineSet &ls, TePolygonSet &pols, string &index)
void | TeMIFRectDecode (TeAsciiFile &mifFile, TePolygonSet &temp, string &index)
void | TeMIFOthersDecode (TeAsciiFile &)
void | TeMIFTransformDecode (TeAsciiFile &)
bool | TeReadMIFAttributes (TeAsciiFile &midFile, TeTable &attTable, int ncolumns, int nrecords=-1, int delta=0, bool createAuto=false)
bool | TeImportMIFGeometries (TeLayer *layer, const string &mifFileName, vector< string > &indexes, unsigned int chunckSize)
char | TeReadMIFSeparator (const string &mifFileName)
TeLayer * | TeImportMIF (const string &mifFileName, TeDatabase *db, const string &layerName)
bool | TeImportMIF (TeLayer *layer, const string &mifFileName, string attrTableName, string objectIdAttr, unsigned int chunkSize)
TeProjection * | TeReadMIFProjection (const string &mifFileName)
void | TeReadMIFAttributeList (const string &mifFileName, TeAttributeList &attList)

## Variables

double | glXmulti = 1.
double | glYmulti = 1
TeCoord2D | glAdd (0., 0.)

## Function Documentation

bool TeImportMIF | ( | TeLayer * | layer,
|  | const string & | mifFileName,
|  | string | attrTableName,
|  | string | objectIdAttr,
|  | unsigned int | chunkSize
| ) |  |

bool TeImportMIFGeometries | ( | TeLayer * | layer,
|  | const string & | mifFileName,
|  | vector< string > & | indexes,
|  | unsigned int | chunckSize
| ) |  |

void TeMIFCollectionDecode | ( | TeAsciiFile & | mifFile,
|  | TePointSet & | ps,
|  | TeLineSet & | ls,
|  | TePolygonSet & | pols,
|  | string & | index
| ) |  |

void TeMIFLineDecode | ( | TeAsciiFile & | mifFile,
|  | TeLineSet & | temp,
|  | string & | index
| ) |  |

void TeMIFMultiPointDecode | ( | TeAsciiFile & | mifFile,
|  | TePointSet & | temp,
|  | string & | index
| ) |  |

void TeMIFOthersDecode | ( | TeAsciiFile & | mifFile | ) |

void TeMIFPlineDecode | ( | TeAsciiFile & | mifFile,
|  | TeLineSet & | temp,
|  | string & | index
| ) |  |

void TeMIFPointDecode | ( | TeAsciiFile & | mifFile,
|  | TePointSet & | temp,
|  | string & | index
| ) |  |

void TeMIFRectDecode | ( | TeAsciiFile & | mifFile,
|  | TePolygonSet & | temp,
|  | string & | index
| ) |  |

void TeMIFRegionDecode | ( | TeAsciiFile & | mifFile,
|  | TePolygonSet & | temp,
|  | string & | index
| ) |  |

void TeMIFTextDecode | ( | TeAsciiFile & | mifFile,
|  | TeTextSet & | temp,
|  | string & | index
| ) |  |

void TeMIFTransformDecode | ( | TeAsciiFile & | mifFile | ) |

bool TeReadMIFAttributes | ( | TeAsciiFile & | midFile,
|  | TeTable & | attTable,
|  | int | ncolumns,
|  | int | nrecords = `-1`,
|  | int | delta = `0`,
|  | bool | createAuto = `false`
| ) |  |

char TeReadMIFSeparator | ( | const string & | mifFileName | ) |

## Variable Documentation

TeCoord2D glAdd(0., 0.)

double glXmulti = 1.

double glYmulti = 1

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines