TerraLib 4.1
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeCoverageUtils.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 *************************************************************************************/
00026 #ifndef  __TERRALIB_INTERNAL_COVERAGEUTILS_H
00027 #define  __TERRALIB_INTERNAL_COVERAGEUTILS_H
00028 
00029 #include "TeCoverageParams.h"
00030 #include "TeException.h"
00031 
00032 TL_DLL std::string TeDefaultCoverageLayerTable(TeLayer* layer);
00033 
00034 TL_DLL std::string TeDefaultCoverageTable(TeLayer* layer, const std::string& coverageId);
00035 
00036 TL_DLL std::string TeDefaultCoverageMetadataTable(TeLayer* layer);
00037 
00038 TL_DLL void TeRetrieveCoverageLayerTables(TeLayer* layer, std::vector<std::string>& coverageLayerTables);
00039 
00040 TL_DLL void TeRetrieveCoverageIds(TeLayer* layer, std::vector<std::string>& coverageIds);
00041 
00042 TL_DLL std::string TeRetrieveCoverageTable(TeLayer* layer, const std::string& coverageId);
00043 
00044 TL_DLL std::string TeRetrieveCoverageLayerTable(TeLayer* layer, const std::string& coverageId);
00045 
00046 TL_DLL TeLayer* TeRetrieveLayer(TeDatabase* database, const int layerId);
00047 
00048 TL_DLL void TeRetrieveDimensions(TeLayer* layer, const std::string& coverageId, std::vector<TeCoverageDimension>& dimensions);
00049 
00050 TL_DLL int TeCoverageDimensionsSize(std::vector<TeCoverageDimension>& dimensions);
00051 
00052 TL_DLL TeBox TeRetrieveCoverageBox(TeLayer* layer, const std::string& coverageId);
00053 
00054 TL_DLL int TeRetrieveCoverageNumElements(TeLayer* layer, const std::string& coverageId);
00055 
00056 #endif // __TERRALIB_INTERNAL_COVERAGEUTILS_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines