Enum Class Capability

java.lang.Object
java.lang.Enum<Capability>
dev.avelar.mapnik.Capability
All Implemented Interfaces:
Serializable, Comparable<Capability>, Constable

public enum Capability extends Enum<Capability>
Something a Mapnik build may or may not include. See Mapnik.supports(Capability).
  • Enum Constant Details

    • CAIRO

      public static final Capability CAIRO
      PDF, SVG and PostScript output.
    • JPEG

      public static final Capability JPEG
      Reading and writing JPEG.
    • PNG

      public static final Capability PNG
      Reading and writing PNG.
    • TIFF

      public static final Capability TIFF
      Reading and writing TIFF.
    • WEBP

      public static final Capability WEBP
      Reading and writing WebP.
    • PROJ

      public static final Capability PROJ
      Projection support through PROJ.
    • GRID

      public static final Capability GRID
      The grid renderer, for UTFGrid output.
    • THREADSAFE

      public static final Capability THREADSAFE
      Safe for several threads to render at once, each with its own map.
    • LOGGING

      public static final Capability LOGGING
      Mapnik writes messages to its log. Without it, Logging settings have nothing to show.
  • Method Details

    • values

      public static Capability[] 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 Capability 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