| TerraLib 4.1

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

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/gdal/TeOGRUtils.h
Go to the documentation of this file.

    00001 /************************************************************************************
    00002 TerraLib - a library for developing GIS applications.
    00003 Copyright  2001-2007 INPE and Tecgraf/PUC-Rio.
    00004
    00005 This code is part of the TerraLib library.
    00006 This library is free software; you can redistribute it and/or
    00007 modify it under the terms of the GNU Lesser General Public
    00008 License as published by the Free Software Foundation; either
    00009 version 2.1 of the License, or (at your option) any later version.
    00010
    00011 You should have received a copy of the GNU Lesser General Public
    00012 License along with this library.
    00013
    00014 The authors reassure the license terms regarding the warranties.
    00015 They specifically disclaim any warranties, including, but not limited to,
    00016 the implied warranties of merchantability and fitness for a particular purpose.
    00017 The library provided hereunder is on an "as is" basis, and the authors have no
    00018 obligation to provide maintenance, support, updates, enhancements, or modifications.
    00019 In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
    00020 indirect, special, incidental, or consequential damages arising out of the use
    00021 of this library and its documentation.
    00022 *************************************************************************************/
    00023
    00029 #ifndef _TEOGRUTILS_H
    00030 #define _TEOGRUTILS_H
    00031
    00032 // Defines
    00033 #include "TeGDALDefines.h"
    00034
    00035 // TerraLib include files
    00036 #include "../../kernel/TeAttribute.h"
    00037 #include "../../kernel/TeBox.h"
    00038 #include "../../kernel/TeSTInstance.h"
    00039
    00040 // OGR include files
    00041 #include <ogr_core.h>
    00042
    00043 // SLT
    00044 #include <vector>
    00045
    00046 // forward declarations
    00047 class OGRGeometry;
    00048 class OGREnvelope;
    00049 class OGRSpatialReference;
    00050 class OGRFeatureDefn;
    00051 class OGRFieldDefn;
    00052 class OGRFeature;
    00053
    00060 TEGDAL_DLL std::vector<TeGeometry*> Convert2TerraLib(OGRGeometry* ogrGeom);
    00061
    00068 TEGDAL_DLL OGRGeometry* Convert2OGR(TeGeometry* geom);
    00069
    00075 TEGDAL_DLL TeBox Convert2TerraLib(OGREnvelope* env);
    00076
    00083 TEGDAL_DLL TeAttributeList Convert2TerraLib(OGRFeatureDefn* featDef);
    00084
    00090 TEGDAL_DLL TeAttribute Convert2TerraLib(OGRFieldDefn* fieldDef);
    00091
    00097 TEGDAL_DLL OGRFieldDefn Convert2OGR(const TeAttribute& attr);
    00098
    00104 TEGDAL_DLL TeSTInstance Convert2TerraLib(OGRFeature* feat);
    00105
    00111 TEGDAL_DLL int Convert2TerraLib(OGRwkbGeometryType geomType);
    00112
    00118 TEGDAL_DLL OGRSpatialReference* Convert2OGR(TeProjection* proj);
    00119
    00120 #endif // _TEOGRUTILS_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines