geotrellis.data

Gdal

object Gdal

Utility for running GDAL commands.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Gdal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def convertToGdalType(rasterType: RasterType): String

    Type conversion

    Type conversion

    Type conversion between GDAL and ARG types is currently not one-to-one This is in order to support GDAL to ARG type conversions in a way that allows the RasterType that is read from gdalinfo to be converted back to a GDAL type using gdal_translate to produce an ARG readable by geotrellis. One situation where this does not happen nicely is when the raster format read by gdalinfo specifies type 'Byte'. If we pass in 'Byte' to gdal_translate, the ARG type will end up bing uint8, which is currently unreadable by geotrellis. Because of this the convertToGdalType returns Int16 for a TypeByte.

  9. def convertToRasterType(gdalType: String): Option[RasterType]

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. val gdal_translate: String

  14. val gdalinfo: String

  15. val gdalinfo_origin_regex: Regex

  16. val gdalinfo_pixelsize_regex: Regex

  17. val gdalinfo_size_regex: Regex

  18. val gdalinfo_type_regex: Regex

  19. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  21. def info(inPath: String): GdalRasterInfo

    Runs the gdalinfo command and gets the raster type and extent

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. def translate(inPath: String, outPath: String, rasterType: RasterType, offsetX: Int, offsetY: Int, width: Int, height: Int): Int

    Runs gdal_translate to convert a subset of a raster data file into ARG format based off of an offset and dimensions

  29. def translate(inPath: String, outPath: String, rasterType: RasterType): Int

    Runs gdal_translate to convert a raster data file into ARG format.

  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped