95 rule->
setName(
new std::string(
"Rule 1"));
138 style->
setName(
new std::string(
"Style 1"));
143 writer->setURI(path);
145 writer->writeStartDocument(
"UTF-8",
"no");
147 writer->setRootNamespaceURI(
"http://www.opengis.net/se");
151 writer->writeToFile();
A TextSymbolizer is used to render text labels according to various graphical parameters.
static const char * sm_propertyIsLessThan
void setRedChannel(SelectedChannel *c)
A selected channel to be display.
Auxiliary classes and functions to serialize style informations from a XML document.
The transformation of continuous values to distinct values (Categorize function). ...
The Style defines the styling that is to be applied to a geographic dataset (vector geometries or cov...
A Mark specifies a geometric shape and applies coloring to it.
This class models a XML reader object.
A PolygonSymbolizer is used to draw a polygon (or other area-type geometries), including filling its ...
This class models a XML reader object.
void setGeometry(te::fe::PropertyName *geometry)
static const char * sm_or
void setDescription(Description *d)
void setName(std::string *name)
void setGain(ParameterValue *p)
void setDescription(Description *d)
static te::xml::AbstractWriter * make()
It creates a new XML writer using the dafault implementation.
void setLookupValue(ParameterValue *v)
A PointSymbolizer specifies the rendering of a graphic Symbolizer at a point.
This file contains include headers for TerraLib Symbology Encoding module.
void setCategorize(Categorize *c)
void push_back(const std::string &semanticTypeIdentifier)
void setFilter(te::fe::Filter *f)
static te::xml::Reader * make()
It creates a new XML reader using the dafault implementation.
TESEEXPORT LineSymbolizer * CreateLineSymbolizer(Stroke *stroke)
Creates a line symbolizer.
TESEEXPORT TextSymbolizer * CreateTextSymbolizer(const std::string &label, Fill *fill, Font *font)
Creates a text symbolizer.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
TESEEXPORT PolygonSymbolizer * CreatePolygonSymbolizer(Stroke *stroke, Fill *fill)
Creates a polygon symbolizer.
void push_back(Symbolizer *s)
static const char * sm_propertyIsEqualTo
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
void setMaxScaleDenominator(const double &maxScaleDenominator)
void setOp(AbstractOp *o)
It sets the filter main operation (expression).
void setGeometry(te::fe::PropertyName *geometry)
The Geometry element of a PolygonSymbolizer defines the linear geometry to be used for styling...
static Style & getInstance()
It returns a reference to the singleton instance.
The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a f...
Data serialization for the XLink module.
This class is used to encode the name of any property of an object.
void setColorCompositionType(ColorCompositionType cct)
void setChannelSelection(ChannelSelection *c)
void setDescription(Description *d)
TESEEXPORT Graphic * CreateGraphic(Mark *mark, const std::string &size, const std::string &rotation, const std::string &opacity)
Creates a graphic.
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos...
This file contains include headers for TerraLib Filter Encoding module.
A Fill specifies the pattern for filling an area geometry.
void setGeometry(te::fe::PropertyName *geometry)
The Geometry element of a LineSymbolizer defines the linear geometry to be used for styling...
void setOpacity(ParameterValue *p)
This class models a XML writer object.
te::se::Style * DecodeStyle(const std::string &path)
It decodes a given OGC Symbology Encoding Style file.
A filter is any valid predicate expression.
TESEEXPORT Mark * CreateMark(const std::string &wellKnownName, Stroke *stroke, Fill *fill)
Creates a mark.
virtual void read(const std::string &fileURI)=0
It prepare the given file to be read.
Support for the Filter serialization.
TESEEXPORT Stroke * CreateStroke(const std::string &color, const std::string &width)
Creates a stroke.
void setGeometry(te::fe::PropertyName *g)
A class for binary comparison operators.
static const char * sm_and
void EncodeStyle(const std::string &path)
It creates an OGC Symbology Encoding Style and encode it to XML format.
This class can be used to represent literal values.
void setName(std::string *name)
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
void setOffset(ParameterValue *p)
This is the abstract factory for XML readers.
A Stroke specifies the appearance of a linear geometry.
void setColorMap(ColorMap *c)
void setSourceChannelName(const std::string &name)
TESEEXPORT Font * CreateFont(const std::string &family, const std::string &size, const te::se::Font::FontStyleType &style=te::se::Font::StyleNormal, const te::se::Font::FontWeightType &weight=te::se::Font::WeightNormal)
Creates a font.
void setMinScaleDenominator(const double &minScaleDenominator)
A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line seg...
A logical operator can be used to combine two or more conditional expressions.
TESEEXPORT Description * CreateDescription(const std::string &title, const std::string &abst)
Creates a description.
This is the abstract factory for XML writers.
void setBlueChannel(SelectedChannel *c)
virtual bool next()=0
It gets the next event to be read.
void setThresholdsBelongTo(ThresholdsBelongToType t)
void addThreshold(ParameterValue *v)
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel...
void addValue(ParameterValue *v)
void setFallbackValue(const std::string &v)
TESEEXPORT PointSymbolizer * CreatePointSymbolizer(Graphic *graphic)
Creates a point symbolizer.
TESEEXPORT Fill * CreateFill(const std::string &color, const std::string &opacity)
Creates a fill.
void setGreenChannel(SelectedChannel *c)
ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such...