All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.raster.regiongroup.RegionGroupMethods.scala Maven / Gradle / Ivy

Go to download

GeoTrellis is an open source geographic data processing engine for high performance applications.

The newest version!
package geotrellis.raster.regiongroup

import geotrellis.raster._
import geotrellis.util.MethodExtensions


/**
  * Trait for region group extension methods on [[Tile]].
  */
trait RegionGroupMethods extends MethodExtensions[Tile] {

  /**
    * Compute the region groupings for the present [[Tile]] using the
    * default options.
    */
  def regionGroup: RegionGroupResult =
    regionGroup(RegionGroupOptions.default)

  /**
    * Compute the region groupings for the present [[Tile]] using the
    * given options.
    */
  def regionGroup(options: RegionGroupOptions = RegionGroupOptions.default): RegionGroupResult =
    RegionGroup(self, options)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy