Module rok4.enums

Classes

class ColorFormat (value, names=None, *, module=None, qualname=None, type=None, start=1)

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.

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

Ancestors

  • enum.Enum

Class variables

var BIT
var FLOAT32
var UINT8
class PyramidType (value, names=None, *, module=None, qualname=None, type=None, start=1)

Pyramid's data type

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

    RASTER = "RASTER"
    VECTOR = "VECTOR"

Ancestors

  • enum.Enum

Class variables

var RASTER
var VECTOR
class SlabType (value, names=None, *, module=None, qualname=None, type=None, start=1)

Slab's type

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

Ancestors

  • enum.Enum

Class variables

var DATA
var MASK
class StorageType (value, names=None, *, module=None, qualname=None, type=None, start=1)

Storage type and path's protocol

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

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

Ancestors

  • enum.Enum

Class variables

var CEPH
var FILE
var HTTP
var HTTPS
var S3