MapToolsExamples.h File Reference
#include "../Config.h"
#include <terralib/dataaccess_fw.h>
#include <terralib/se_fw.h>
#include <string>

Go to the source code of this file.

Functions

void DrawRasterStyledLayers ()
 It draws a set of raster layers using styles encoded using OGC RasterSymbology Enconding specification. More...
 
void DrawStyledLayers ()
 It draws a set of layers using styles encoded using OGC Symbology Enconding specification. More...
 
void Filter2Query ()
 It converts a OGC Filter Expression to TerraLib Expression. More...
 
void LoadModules ()
 It loads the data source drivers. More...
 
void MapDisplay ()
 It retrieves data from a data source, create a set of layer and show map display. More...
 
Hard-coded styles

Methods to build pre-defined styles.

te::se::StyleSimplePolygonStyle ()
 
te::se::StyleSimplePolygonStyleWithStroke ()
 
te::se::StyleTransparentPolygonStyle ()
 
te::se::StyleGraphicFillPolygonStyle (const std::string &markName)
 
te::se::StyleTreePolygonStyle ()
 
te::se::StyleGraphicFillContourPolygonStyle (const std::string &markName)
 
te::se::StyleSimpleLineStyle ()
 
te::se::StyleDashedLineStyle ()
 
te::se::StyleLineWithBorderStyle ()
 
te::se::StyleRoadStyleOne ()
 
te::se::StyleRoadStyleTwo ()
 
te::se::StyleMarkPointStyle (const std::string &markName)
 

Variables

unsigned int G_ID
 

Function Documentation

void DrawRasterStyledLayers ( )

It draws a set of raster layers using styles encoded using OGC RasterSymbology Enconding specification.

Definition at line 452 of file RasterStyling.cpp.

References CreateCanvas(), CreateRasterLayer(), te::map::GetRaster(), MONO_0_Style(), MONO_2_Style(), RGB_012_G_Contrast_Style(), RGB_012_RGB_Contrast_Style(), RGB_012_Transp_Style(), and RGB_102_Style().

Referenced by main().

te::se::Style* GraphicFillContourPolygonStyle ( const std::string &  markName)
void LoadModules ( )

It loads the data source drivers.

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.

Variable Documentation

unsigned int G_ID

Definition at line 42 of file examples/maptools/main.cpp.

Referenced by CreateDataSetLayer(), CreateRasterLayer(), and MapDisplay().