| 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/kernel/TeProjection.cpp File Reference
`#include "TeProjection.h"`
`#include "TeException.h"`
`#include "TeUtils.h"`
`#include <cstdlib>`
`#include <stdio.h>`
`#include <iostream>`
`#include <cstring>`

## Functions

bool | tokenizeWKT (char **wkt, vector< string > &tokens)
TeDatum | TeGetDatumFromWKT (const string &wkt)
TeDatum | TeGetDatumFromProj4 (const string &proj4)
const char ** | TeGetProjInfo ()
TeProjInfo | TeProjectionInfo (const string &projName)
| Returns the set of informations required by a given projection.
bool | decodifyDescription (const string &projDescription, TeProjectionParams &pars)
TeProjection * | TeGetTeProjectionFromSProj (const string &proj4)
| Creates a TeProjection instance from a PROJ4 description.
string | TeGetSProjFromTeProjection (TeProjection *teproj)
| Generates a PROJ4 description from a TerraLib instance.
string | TeGetWKTFromTeProjection (TeProjection *teproj)
| Generates OGC WKT Spatial Reference description from a TerraLib instance.
TeProjection * | TeGetTeProjectionFromWKT (const string &wkt)
| Creates a TeProjection instance from a OGC WKT Spatial Reference description.

## Variables

const char * | teProjInfo []

## Function Documentation

bool decodifyDescription | ( | const string & | projDescription,
|  | TeProjectionParams & | pars
| ) |  |

TeDatum TeGetDatumFromProj4 | ( | const string & | proj4 | ) |

TeDatum TeGetDatumFromWKT | ( | const string & | wkt | ) |

const char** TeGetProjInfo | ( |  | ) |

string TeGetSProjFromTeProjection | ( | TeProjection * | teproj | ) |

Generates a PROJ4 description from a TerraLib instance.

TeProjection* TeGetTeProjectionFromSProj | ( | const string & | proj4 | ) |

Creates a TeProjection instance from a PROJ4 description.

TeProjection* TeGetTeProjectionFromWKT | ( | const string & | wkt | ) |

Creates a TeProjection instance from a OGC WKT Spatial Reference description.

string TeGetWKTFromTeProjection | ( | TeProjection * | teproj | ) |

Generates OGC WKT Spatial Reference description from a TerraLib instance.

TeProjInfo TeProjectionInfo | ( | const string & | projName | ) |

Returns the set of informations required by a given projection.

bool tokenizeWKT | ( | char ** | wkt,
|  | vector< string > & | tokens
| ) |  |

## Variable Documentation

const char* teProjInfo[]

Initial value:

     {
    "Albers",                                              "1",  "1",  "1", "1",  "1",  "0", "1", "1",
    "LatLong",                                             "1",  "0",  "0", "0",  "0",  "0", "0", "0",
    "LambertConformal",                         "1",  "1",  "1", "1",  "1",  "0", "1", "1",
    "Mercator",                                                       "1",  "1",  "1", "1",  "0",  "0", "1", "1",
    "Miller",                                              "1",  "1",  "0", "0",  "0",  "0", "1", "1",
    "UTM",                                                            "1",  "1",  "0", "0",  "0",  "1", "1", "1",
    "Polyconic",                                           "1",  "1",  "1", "0",  "0",  "0", "1", "1",
    "Sinusoidal",                                          "1",  "1",  "0", "0",  "0",  "0", "1", "1",
    "CylindricalEquidistant",        "1",  "1",  "0", "1",  "0",  "0", "1", "1",
    "PolarStereographic",            "1",  "1",  "0", "0",  "0",  "0", "1", "1",
    "Satellite",                             "1",  "1",  "1", "0",  "0",  "0", "1", "1",
    "NoProjection",                                        "1",  "0",  "0", "0",  "0",  "0", "0", "0",
    "VirtualEarthMercator",                     "1",  "1",  "1", "1",  "0",  "0", "1", "1"
    }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines