Class/Object

geotrellis.spark.tiling

ZoomedLayoutScheme

Related Docs: object ZoomedLayoutScheme | package tiling

Permalink

class ZoomedLayoutScheme extends LayoutScheme

Layout for zoom levels based off of a power-of-2 scheme, used in Leaflet et al.

Linear Supertypes
LayoutScheme, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZoomedLayoutScheme
  2. LayoutScheme
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZoomedLayoutScheme(crs: CRS, tileSize: Int, resolutionThreshold: Double)

    Permalink

    crs

    The CRS this zoomed layout scheme will be using

    tileSize

    The size of each tile in this layout scheme

    resolutionThreshold

    The percentage difference between a cell size and a zoom level and the resolution difference between that zoom level and the next that is tolerated to snap to the lower-resolution zoom level. For example, if this paramter is 0.1, that means we're willing to downsample rasters with a higher resolution in order to fit them to some zoom level Z, if the difference is resolution is less than or equal to 10% the difference between the resolutions of zoom level Z and zoom level Z+1.

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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val crs: CRS

    Permalink

    The CRS this zoomed layout scheme will be using

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def levelFor(extent: Extent, cellSize: CellSize): LayoutLevel

    Permalink
    Definition Classes
    ZoomedLayoutSchemeLayoutScheme
  14. def levelForZoom(worldExtent: Extent, id: Int): LayoutLevel

    Permalink
  15. def levelForZoom(id: Int): LayoutLevel

    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. val resolutionThreshold: Double

    Permalink

    The percentage difference between a cell size and a zoom level and the resolution difference between that zoom level and the next that is tolerated to snap to the lower-resolution zoom level.

    The percentage difference between a cell size and a zoom level and the resolution difference between that zoom level and the next that is tolerated to snap to the lower-resolution zoom level. For example, if this paramter is 0.1, that means we're willing to downsample rasters with a higher resolution in order to fit them to some zoom level Z, if the difference is resolution is less than or equal to 10% the difference between the resolutions of zoom level Z and zoom level Z+1.

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

    Permalink
    Definition Classes
    AnyRef
  21. val tileSize: Int

    Permalink

    The size of each tile in this layout scheme

  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  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( ... )
  26. def zoom(x: Double, y: Double, cellSize: CellSize): Int

    Permalink

    This will calcluate the closest zoom level based on the resolution in a UTM zone containing the point.

    This will calcluate the closest zoom level based on the resolution in a UTM zone containing the point. The calculated zoom level is up to some percentage (determined by the resolutionThreshold) less resolute then the cellSize. If the cellSize is more resolute than that threshold's allowance, this will return the next zoom level up.

  27. def zoomIn(level: LayoutLevel): LayoutLevel

    Permalink
    Definition Classes
    ZoomedLayoutSchemeLayoutScheme
  28. def zoomOut(level: LayoutLevel): LayoutLevel

    Permalink
    Definition Classes
    ZoomedLayoutSchemeLayoutScheme

Inherited from LayoutScheme

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped