Styled Layer Descriptor (SLD) Example

vector, feature, sld, styling, style

Parsing SLD and applying styles to a vector layer.

This example uses a SLD file to style the vector features. To construct layers that use styles from SLD, create a StyleMap for the layer that uses one of the userStyles in the namedLayers object of the return from format.read().

Select a new style for the WaterBodies layer below:

Default Styler (zoom in to see more features)
Styler Test PropertyIsEqualTo
Styler Test WATER_TYPE
Styler Test PropertyIsGreaterThanOrEqualTo
Styler Test PropertyIsLessThanOrEqualTo
Styler Test PropertyIsGreaterThan
Styler Test PropertyIsLessThan
Styler Test PropertyIsLike
Styler Test PropertyIsBetween
Styler Test FeatureId