Skip to end of metadata
Go to start of metadata
Currently the SLD module is only on Geomatys server : Geomatys Mercurial : GT-working
Capabilities
This module offer support for OGC StyledLayerDescriptor and OGC Symbology Encoding specifications.
The choosen technology is : JaxB
Supported specification versions :
- OGC SLD v1.0.0
- OGC SLD v1.1.0
- OGC SE v1.1
- OGC Filter v1.1.0
- OGC Filter v1.0.0
How to ?
A Utility class is provided to handle read/write operations :
This class provide methods which accept several possible classes of source/target. Here is the list :
Reading handle:
- java.io.File
- org.xml.sax.InputSource
- java.io.InputStream
- org.w3c.dom.Node
- java.io.Reader
- javax.xml.transform.Source
- java.net.URL
- javax.xml.stream.XMLEventReader
- javax.xml.stream.XMLStreamReader
- org.opengis.metadata.citation.OnLineResource
Writing handle :
- java.io.File
- org.xml.sax.ContentHandler
- java.io.OutputStream
- org.w3c.dom.Node
- java.io.Writer
- javax.xml.transform.Result
- javax.xml.stream.XMLEventWriter
- javax.xml.stream.XMLStreamWriter
Exemple :
Marshelling/Unmarshelling capabilities
: Parsing done
: Parsing in progress or Geotools classes are missing for a complete support
: Parsing not done, missing Geotools classes for support
Specification |
Read |
Write |
JUnit |
OGC SLD v1.1.0 |
|
|
|
StyledLayerDescriptor |
|
|
|
NamedLayer |
|
|
|
UserLayer |
|
|
|
NamedStyle |
|
|
|
UserStyle |
|
|
|
SLDLibraries |
|
|
|
FeatureConstraints |
|
|
|
CoverageConstraints |
|
|
|
OnlineResources |
|
|
|
|
Specification |
Read |
Write |
JUnit |
OGC SLD v1.0.0 (layer part) |
|
|
|
StyledLayerDescriptor |
|
|
|
NamedLayer |
|
|
|
UserLayer |
|
|
|
NamedStyle |
|
|
|
UserStyle |
|
|
|
FeatureConstraints |
|
|
|
|
|
Specification |
Read |
Write |
JUnit |
OGC SE v1.1 |
|
|
|
FeatureTypeStyle |
|
|
|
Rule |
|
|
|
PointSymbolizer |
|
|
|
LineSymbolizer |
|
|
|
PolygonSymbolizer |
|
|
|
TextSymbolizer |
|
|
|
RasterSymbolizer |
|
|
|
Expression |
|
|
|
MapItem |
|
|
|
Interpolate |
|
|
|
Concatenate |
|
|
|
ChangeCase |
|
|
|
Trim |
|
|
|
FormatDate |
|
|
|
Categorize |
|
|
|
InterpolationPoint |
|
|
|
StringLength |
|
|
|
FormatNumber |
|
|
|
Substring |
|
|
|
StringPosition |
|
|
|
|
Specification |
Read |
Write |
JUnit |
OGC SLD v1.0.0 (symbology part) |
|
|
|
FeatureTypeStyle |
|
|
|
Rule |
|
|
|
PointSymbolizer |
|
|
|
LineSymbolizer |
|
|
|
PolygonSymbolizer |
|
|
|
TextSymbolizer |
|
|
|
RasterSymbolizer |
|
|
|
|
|
Specification |
Read |
Write |
JUnit |
OGC Filter v1.1.0 |
|
|
|
Expression |
|
|
|
Add |
|
|
|
Div |
|
|
|
Function |
|
|
|
Literal |
|
|
|
Mul |
|
|
|
PropertyName |
|
|
|
Sub |
|
|
|
Filter : Comparison |
|
|
|
PropertyIsBetween |
|
|
|
PropertyIsEqualTo |
|
|
|
PropertyIsGreaterThan |
|
|
|
PropertyIsGreaterOrEqual |
|
|
|
PropertyIsLessThan |
|
|
|
PropertyIsLessOrEqual |
|
|
|
PropertyIsLike |
|
|
|
PropertyIsNotEqualTo |
|
|
|
PropertyIsNull |
|
|
|
Filter : Logical |
|
|
|
And |
|
|
|
Or |
|
|
|
Not |
|
|
|
Filter : Spatial |
|
|
|
BBOX |
|
|
|
Beyond |
|
|
|
Contains |
|
|
|
Crosses |
|
|
|
DWithin |
|
|
|
Disjoint |
|
|
|
Equals |
|
|
|
Intersects |
|
|
|
OverLaps |
|
|
|
Touches |
|
|
|
Within |
|
|
|
|
Specification |
Read |
Write |
JUnit |
OGC Filter v1.0.0 |
|
|
|
Expression |
|
|
|
Add |
|
|
|
Div |
|
|
|
Function |
|
|
|
Literal |
|
|
|
Mul |
|
|
|
PropertyName |
|
|
|
Sub |
|
|
|
Filter : Comparison |
|
|
|
PropertyIsBetween |
|
|
|
PropertyIsEqualTo |
|
|
|
PropertyIsGreaterThan |
|
|
|
PropertyIsGreaterOrEqual |
|
|
|
PropertyIsLessThan |
|
|
|
PropertyIsLessOrEqual |
|
|
|
PropertyIsLike |
|
|
|
PropertyIsNotEqualTo |
|
|
|
PropertyIsNull |
|
|
|
Filter : Logical |
|
|
|
And |
|
|
|
Or |
|
|
|
Not |
|
|
|
Filter : Spatial |
|
|
|
BBOX |
|
|
|
Beyond |
|
|
|
Contains |
|
|
|
Crosses |
|
|
|
DWithin |
|
|
|
Disjoint |
|
|
|
Equals |
|
|
|
Intersects |
|
|
|
OverLaps |
|
|
|
Touches |
|
|
|
Within |
|
|
|
|
|