Class

geotrellis.raster

DataType

Related Doc: package raster

Permalink

sealed abstract class DataType extends Serializable

The DataType type.

Self Type
CellType
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataType
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val bits: Int

    Permalink
  2. abstract def equalDataType(other: DataType): Boolean

    Permalink

    Determine if two CellType instances have equal DataType component

  3. abstract val isFloatingPoint: Boolean

    Permalink
  4. abstract def withDefaultNoData(): CellType

    Permalink

    Creates a CellType with the default ConstantNoData value.

    Creates a CellType with the default ConstantNoData value. If instance is already one of the default NoData values then a reference to self is returned.

    returns

    CellType with same bit width as this but with the default NoData value.

  5. abstract def withNoData(noDataValue: Option[Double]): CellType

    Permalink

    Creates CellType with requested NoData semantics.

    Creates CellType with requested NoData semantics. In case where DataType is not Double noDataValue will be coerced to that type. This may lead to loss of precision but will leave NoData consistent with tile cells.

    noDataValue

    Optional NoData Value

    returns

    DataType unchanged but with NoDataHandling implied by the value of the parameter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bytes: Int

    Permalink

    Bytes per sample (bits divided by 8).

    Bytes per sample (bits divided by 8).

    returns

    Bytes per sample.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contains(other: CellType): Boolean

    Permalink

    Answer true if the present data type contains the other cell type, otherwise false.

    Answer true if the present data type contains the other cell type, otherwise false.

    other

    The other cell type

    returns

    True for containment, false otherwise

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def intersect(other: CellType): CellType

    Permalink

    Compute the intersection of the present data type and the given cell type.

    Compute the intersection of the present data type and the given cell type.

    other

    The other cell type

    returns

    The intersection of this data type and the other cell type

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def name: String

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def numBytes(size: Int): Int

    Permalink

    Return the number of bytes that would be consumed by the given number of items of the present type.

    Return the number of bytes that would be consumed by the given number of items of the present type.

    size

    The number of items

    returns

    The number of bytes

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink

    Return the string representation of this data type.

    Return the string representation of this data type.

    returns

    The string representation

    Definition Classes
    DataType → AnyRef → Any
  22. def union(other: CellType): CellType

    Permalink

    Union only checks to see that the correct bitsize and int vs floating point values are set.

    Union only checks to see that the correct bitsize and int vs floating point values are set. We can be sure that its operations are safe because all data is converted up to int or double where the internal GT "constant" nodata values are used for *all* tile types. So, for instance, if a UserDefinedNoData tile is converted to a different UserDefinedNoData tile, the user defined NoData value will be converted to Int.MinValue/Double.NaN during operations and then converted once more from that value down to the second UserDefinedNoData value.

    other

    The other cell type

    returns

    The union of this data type and the other cell type

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped