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::Style * SimplePolygonStyle ()
 
te::se::Style * SimplePolygonStyleWithStroke ()
 
te::se::Style * TransparentPolygonStyle ()
 
te::se::Style * GraphicFillPolygonStyle (const std::string &markName)
 
te::se::Style * TreePolygonStyle ()
 
te::se::Style * GraphicFillContourPolygonStyle (const std::string &markName)
 
te::se::Style * SimpleLineStyle ()
 
te::se::Style * DashedLineStyle ()
 
te::se::Style * LineWithBorderStyle ()
 
te::se::Style * RoadStyleOne ()
 
te::se::Style * RoadStyleTwo ()
 
te::se::Style * MarkPointStyle (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().