Module rok4.enums

Classes

class ColorFormat (*values)
Expand source code
class ColorFormat(Enum):
    """A color format enumeration.
    Except from "BIT", the member's name matches
      a common variable format name. The member's value is
      the allocated bit size associated to this format.
    """

    BIT = 1
    UINT8 = 8
    FLOAT32 = 32

A color format enumeration. Except from "BIT", the member's name matches a common variable format name. The member's value is the allocated bit size associated to this format.

Ancestors

  • enum.Enum

Class variables

var BIT

The type of the None singleton.

var FLOAT32

The type of the None singleton.

var UINT8

The type of the None singleton.

class PyramidType (*values)
Expand source code
class PyramidType(Enum):
    """Pyramid's data type"""

    RASTER = "RASTER"
    VECTOR = "VECTOR"

Pyramid's data type

Ancestors

  • enum.Enum

Class variables

var RASTER

The type of the None singleton.

var VECTOR

The type of the None singleton.

class SlabType (*values)
Expand source code
class SlabType(Enum):
    """Slab's type"""

    DATA = "DATA"  # Slab of data, raster or vector
    MASK = "MASK"  # Slab of mask, only for raster pyramid, image with one band : 0 is nodata, other values are data

Slab's type

Ancestors

  • enum.Enum

Class variables

var DATA

The type of the None singleton.

var MASK

The type of the None singleton.

class StorageType (*values)
Expand source code
class StorageType(Enum):
    """Storage type and path's protocol"""

    CEPH = "ceph://"
    FILE = "file://"
    HTTP = "http://"
    HTTPS = "https://"
    S3 = "s3://"

Storage type and path's protocol

Ancestors

  • enum.Enum

Class variables

var CEPH

The type of the None singleton.

var FILE

The type of the None singleton.

var HTTP

The type of the None singleton.

var HTTPS

The type of the None singleton.

var S3

The type of the None singleton.