@UML(identifier="PF_PortrayalSpecification", specification=ISO_19117) public interface Symbolizer
Please note you are not free to create your own subtype o Symbolizer - we are limited to LineSymbolizer, PointSymbolizer, PolygonSymbolizer, RasterSymbolizer and TextSymbolizer.
using a static geometry you can use static geometry if needed, see #getGeometryAttribute
Particular cases if the geometry is not the defined type of the
symbolizer
Geometry types other than inherently linear types can also be used. If a point geometry is used, it should be interpreted as a line of "epsilon" (arbitrarily small) length with a horizontal orientation centered on the point, and should be rendered with two end caps. If a polygon is used (or other "area" type), then its closed outline is used as the line string (with no end caps). If a raster geometry is used, its coverage-area outline is used for the line, rendered with no end caps.
Modifier and Type | Method and Description |
---|---|
Object |
accept(StyleVisitor visitor,
Object extraData)
Calls the visit method of a StyleVisitor
|
Description |
getDescription()
Returns the description of this symbolizer.
|
String |
getGeometryPropertyName()
Returns the name of the geometry feature attribute to use for drawing.
|
String |
getName()
Returns a name for this symbolizer.
|
Unit<Length> |
getUnitOfMeasure()
Returns a measure unit.
|
@XmlElement(value="uom") Unit<Length> getUnitOfMeasure()
Recommended uom definitions are :
metre
foot
pixel
@XmlElement(value="Geometry") String getGeometryPropertyName()
The content of the element gives the property name in XPath syntax. In principle, a fixed geometry could be defined using GML or operators could be defined for computing the geometry from references or literals. However, using a feature property directly is by far the most commonly useful method.
null
to indicate default geometry@XmlElement(value="Name") String getName()
@XmlElement(value="Description") Description getDescription()
@Extension Object accept(StyleVisitor visitor, Object extraData)
visitor
- the style visitorCopyright © 1996–2019 Geotools. All rights reserved.