Utility functions for MapTools module. More...
#include "../color/RGBAColor.h"
#include "../dataaccess/datasource/DataSource.h"
#include "../geometry/Enums.h"
#include "../geometry/Envelope.h"
#include "../raster/Raster.h"
#include "AbstractLayer.h"
#include "Config.h"
#include <list>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
te | |
URI C++ Library. | |
te::common | |
Namespace for the Common module of TerraLib. | |
te::da | |
Namespace for the DataAccess API of TerraLib. | |
te::map | |
Namespace for the Map Tools module of TerraLib. | |
te::rst | |
Namespace for the Raster module of TerraLib. | |
te::se | |
Namespace for the Symbology Encoding module of TerraLib. | |
Functions | |
TEMAPEXPORT int | te::map::CalculatePlanarZone (te::gm::Envelope latLongBox) |
Calculates the UTM zone from a Geographic envelope. More... | |
TEMAPEXPORT te::da::DataSet * | te::map::DataSet2Memory (te::da::DataSet *dataset) |
It creates a new In-Memory dataset with the items from the given dataset. More... | |
TEMAPEXPORT void | te::map::DrawGeometries (te::da::DataSetType *type, te::da::DataSourcePtr ds, Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, int srid, te::se::FeatureTypeStyle *style) |
It draws the data set geometries in the given canvas using the informed SRID and style. More... | |
TEMAPEXPORT void | te::map::DrawGeometries (te::da::DataSet *dataset, const std::size_t &gpos, Canvas *canvas, int fromSRID, int toSRID, te::common::TaskProgress *task=0) |
It draws the data set geometries in the given canvas using the informed SRS. More... | |
TEMAPEXPORT void | te::map::DrawRaster (te::da::DataSetType *type, te::da::DataSourcePtr ds, Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid, te::se::CoverageStyle *style, te::map::RasterContrast *rc, const double &scale, bool *cancel) |
TEMAPEXPORT void | te::map::DrawRaster (te::rst::Raster *raster, Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid, te::se::CoverageStyle *style, te::map::RasterContrast *rc, const double &scale, bool *cancel) |
TEMAPEXPORT void | te::map::GetDashStyle (const std::string &dasharray, std::vector< double > &style) |
Converts a dasharray pattern coded by a string to a vector of double. More... | |
TEMAPEXPORT te::gm::Envelope | te::map::GetExtent (const std::list< te::map::AbstractLayerPtr > &layers, int srid, bool onlyVisibles) |
It calculates the extent of the given layers in the given SRID. More... | |
TEMAPEXPORT te::gm::Envelope | te::map::GetExtent (const te::map::AbstractLayerPtr &layer, int srid, bool onlyVisibles) |
It calculates the extent of the given layer in the given SRID. More... | |
TEMAPEXPORT te::rst::Raster * | te::map::GetExtentRaster (te::rst::Raster *raster, int w, int h, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid) |
TEMAPEXPORT te::gm::GeomType | te::map::GetGeomType (const te::map::AbstractLayerPtr &layer) |
It gets the geometry type of the given layer. More... | |
TEMAPEXPORT te::rst::Raster * | te::map::GetRaster (AbstractLayer *layer) |
It gets the raster referenced by the given data set layer. More... | |
TEMAPEXPORT te::rst::RasterProperty * | te::map::GetRasterProperty (AbstractLayer *layer) |
It gets the raster property referenced by the given data set layer. More... | |
TEMAPEXPORT te::gm::Envelope | te::map::GetSelectedExtent (const std::list< te::map::AbstractLayerPtr > layers, int srid, bool onlyVisibles) |
It calculates the extent of selected objects of the given layers in the given SRID. More... | |
TEMAPEXPORT te::gm::Envelope | te::map::GetSelectedExtent (const te::map::AbstractLayerPtr layer, int srid, bool onlyVisibles) |
It calculates the extent of selected objects of the given layer in the given SRID. More... | |
TEMAPEXPORT std::string | te::map::GetUTMProj4FromZone (int zone) |
Returns proj4 string with UTM projection in the specified zone (Only working for south). More... | |
TEMAPEXPORT void | te::map::GetVisibleLayers (const std::list< te::map::AbstractLayerPtr > &layers, std::list< te::map::AbstractLayerPtr > &visibleLayers) |
It gets the visible layers of the given layer list. More... | |
TEMAPEXPORT void | te::map::GetVisibleLayers (const std::list< te::map::AbstractLayer *> &layers, std::list< te::map::AbstractLayer *> &visibleLayers) |
TEMAPEXPORT void | te::map::GetVisibleLayers (const te::map::AbstractLayerPtr &layer, std::list< te::map::AbstractLayerPtr > &visibleLayers) |
It gets the visible layers of the given layer. More... | |
TEMAPEXPORT te::gm::Envelope | te::map::GetWorldBoxInPlanar (const te::gm::Envelope &worldBox, int srid) |
It gets the requested envelope on a UTM planar projection. More... | |
Utility functions for MapTools module.
Definition in file Utils.h.