Enum Class ELcdSLDRotationSpace

java.lang.Object
java.lang.Enum<ELcdSLDRotationSpace>
com.luciad.ogc.sld.model.ELcdSLDRotationSpace
All Implemented Interfaces:
Serializable, Comparable<ELcdSLDRotationSpace>, Constable

public enum ELcdSLDRotationSpace extends Enum<ELcdSLDRotationSpace>
Specifies the coordinate space in which the rotation of a symbolizer is applied when using the rotationSpace SLD vendor option.

By default, SLD defines rotation in view space: the symbol is rotated relative to the screen, and its orientation remains visually consistent even when the map is rotated. This corresponds to VIEW.

When WORLD is used, rotation is applied in world (geographic) space. In this mode, the symbol's orientation is tied to the map's coordinate system. As a result, rotating or tilting the view does not change the symbol's perceived direction. This is useful for symbols that must always point toward a fixed geographic direction, such as "north‑up" arrows or wind direction indicators.

Since:
2026.1
  • Enum Constant Details

    • VIEW

      public static final ELcdSLDRotationSpace VIEW
      Rotation is applied in view space.

      This is the default SLD behavior: the rotation angle is interpreted relative to the screen. If the user rotates the map view, the symbol rotates visually with it, preserving its on‑screen orientation.

    • WORLD

      public static final ELcdSLDRotationSpace WORLD
      Rotation is applied in world (geographic) space.

      The rotation angle is interpreted in the coordinate reference system of the data. The symbol maintains a constant geographic orientation, regardless of how the user rotates or tilts the view. This ensures, for example, that a symbol representing "north" continues to point north on the map.

  • Method Details

    • values

      public static ELcdSLDRotationSpace[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ELcdSLDRotationSpace valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null