A examples for the TerraLib Cellular Space Module. More...
#include "../Config.h"#include <terralib/cellspace/CellSpaceOperations.h>#include <terralib/common/TerraLib.h>#include <terralib/core/plugin.h>#include <terralib/dataaccess/dataset/CheckConstraint.h>#include <terralib/dataaccess/dataset/PrimaryKey.h>#include <terralib/dataaccess/dataset/Index.h>#include <terralib/dataaccess/datasource/DataSourceFactory.h>#include <terralib/dataaccess/datasource/DataSourceInfo.h>#include <terralib/dataaccess/datasource/DataSourceInfoManager.h>#include <terralib/dataaccess/datasource/DataSourceManager.h>#include <terralib/dataaccess/utils/Utils.h>#include <terralib/geometry/Envelope.h>#include <terralib/geometry/GeometryProperty.h>#include <terralib/maptools/DataSetLayer.h>#include <cassert>#include <cstdlib>#include <exception>#include <iostream>#include <map>#include <boost/uuid/random_generator.hpp>#include <boost/uuid/uuid_io.hpp>Go to the source code of this file.
Functions | |
| void | CreateCellSpace () |
| void | CreateMaskCellSpace () |
| void | LoadModules () |
| Load terralib modules. More... | |
| int | main (int, char **) |
A examples for the TerraLib Cellular Space Module.
Definition in file examples/cellspace/main.cpp.
| void CreateCellSpace | ( | ) |
Definition at line 112 of file examples/cellspace/main.cpp.
References te::cellspace::CellularSpacesOperations::CELLSPACE_POLYGONS, te::cellspace::CellularSpacesOperations::createCellSpace(), ds, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, and te::gm::Envelope::m_ury.
Referenced by main().
| void CreateMaskCellSpace | ( | ) |
Definition at line 139 of file examples/cellspace/main.cpp.
References te::cellspace::CellularSpacesOperations::CELLSPACE_POLYGONS, te::cellspace::CellularSpacesOperations::createCellSpace(), ds, te::da::GetExtent(), te::da::GetFirstGeomProperty(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceFactory::make(), and te::map::NOT_VISIBLE.
Referenced by main().
| void LoadModules | ( | ) |
Load terralib modules.
It loads the data source drivers.
Load terralib modules.
It loads the data source drivers.
Definition at line 38 of file attic/unittest/dataaccess/LoadModules.h.
Referenced by main().
Definition at line 62 of file examples/cellspace/main.cpp.
References te::core::PluginManager::clear(), CreateCellSpace(), CreateMaskCellSpace(), TerraLib::finalize(), te::common::Singleton< TerraLib >::getInstance(), TerraLib::initialize(), te::core::PluginManager::instance(), and LoadModules().