The following package is an implementation of OGC Symbology Encoding 1.1.0 and ISO 19117 : PortrayalThis package is a merge from package GeoAPI SLD (v1.0.0) and GeoTools styling.
Symbology Encoding overviewSource : http://www.opengeospatial.org/standards/symbol
File : 05-077r4
This document defines an XML encoding that can be used for styling feature and
Symbology Encoding includes the FeatureTypeStyle as root element. These elements include all information for styling the data such as Filter and different kinds of Symbolizers.
As Symbology Encoding is a grammar for styling map data independent of any service interface specification it can be used flexibly by a number of services that style georeferenced information or store styling information that can be used by other services.
Symbology Encoding is a specification that define styles in xml files. This GeoAPI implementation may be a bit different from the original XSD structure to offer a better integration in the Java langage and to follow ISO 19117.
Here are schemas breafly describing the java implementation :
- Styles have N rules, and each rule have N Symbolizers.
- We found Symbolizer for each data type we can portray.
Interface Summary Interface Description AnchorPointAn AnchorPoint identifies the location inside a textlabel to use as an "anchor" for positioning it relative to a point geometry. ChannelSelectionThe ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). ColorMapThe ColorMap element defines the mapping of palette-type raster colors or fixed- numeric pixel values to colors using an Interpolate or Categorize SE function ColorReplacementThe ColorReplacement element, which may occur multiple times, allows to replace a color in the ExternalGraphic, the color specified in the OriginalColor sub-element, by another color as a result of a recode function as defined in
ContrastEnhancementThe ContrastEnhancement object defines contrast enhancement for a channel of a false-color image or for a color image. DescriptionA Description is used to store various informations who describe an element. DisplacementThe Displacement gives the X and Y displacements from the original geometry. ExtensionSymbolizerAn symbolizer interface for all unnormalized symbolizers, This interface should be used for vendor specific symbolizers. ExternalGraphicPoints to an external file that contains an image of some kind, such as a CGM, JPG, or SVG. ExternalMarkThe alternative to a WellKnownName is an external mark format. FeatureTypeStyleRepresents a style that applies to features or coverage. FillIndicates how the interior of polygons will be filled. FontThe Font element identifies a font of a certain family, style, and size. GraphicA Graphic is a "graphic symbol" with an inherent shape, color(s), and possibly size. GraphicalSymbolCommon superclass for the two types of markers that can appear as children of a
GraphicFillA GraphicFill is a simple interface with only a graphic but additional parameters for the GraphicFill may be provided in the future to provide more control the exact style of filling. GraphicLegendThe LegendGraphic element allow an optional explicit graphic symbolizer to do displayed in a legend for the rule. GraphicStrokeThe GraphicStroke element both indicates that a repeated-linear-graphic stroke type will be used. HaloA Halo is a type of Fill that is applied to the backgrounds of font glyphs. LabelPlacementThe LabelPlacement element is used to position a label relative to a point, line string or polygon. LinePlacementThe "LinePlacement" specifies where and how a text label should be rendered relative to a line. LineSymbolizerGives directions for how to draw lines on a map. MarkIndicate that one of a few predefined shapes will be drawn at the points of the geometry. PointPlacementA PointPlacement specifies how a text label is positioned relative to a geometric point. PointSymbolizerIndicates how to draw point geometries on a map. PolygonSymbolizerHolds the information that indicates how to draw the lines and the interior of polygons. RasterSymbolizerThe RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos, DEMs). RuleA rule consists of two important parts: a filter and a list of symbols. SelectedChannelTypeA class to hold Channel information for use in ChannelSelection objects. ShadedReliefThe ShadedRelief element selects the application of relief shading (or “hill shading”) to an image for a three-dimensional visual effect. StrokeContains all the information needed to draw styled lines. StyleA UserStyle is at the same semantic level as a NamedStyle used in the context of a WMS. StyleFactoryFactory used in the production of style objects. StyleVisitorAn interface for classes that want to perform operations on a Style hierarchy. SymbolizerAbstract superclass of the symbolizers defined by the Symbology Encoding specification. TextSymbolizerIndicates how text will be drawn.
Class Summary Class Description ContrastMethodThe ContrastEnhancement element defines contrast enhancement for a channel of a false-color image or for a color image. SemanticTypeIdentifies the more general "type" of geometry that this style is meant to act upon.
Enum Summary Enum Description OverlapBehaviorThe OverlapBehavior element tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes.