trait RasterRegionReproject[T <: CellGrid[Int]] extends Serializable
- Alphabetic
- By Inheritance
- RasterRegionReproject
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
regionReproject(raster: Raster[T], src: CRS, dest: CRS, rasterExtent: RasterExtent, region: Polygon, resampleMethod: resample.ResampleMethod, errorThreshold: Double): Raster[T]
Reproject raster to a region that may partially intersect target raster extent.
Reproject raster to a region that may partially intersect target raster extent.
Back-projects only the cells overlapping the destination region before sampling their value from the source raster. This can be used to avoid assigning destination cell values where there is insufficient data for resample kernel.
- src
source raster CRS
- dest
target raster CRS
- rasterExtent
extent and resolution of target raster
- region
polygon boundry of source raster in target CRS
- resampleMethod
cell value resample method
- errorThreshold
error threshold when using approximate row transformations in reprojection.
-
abstract
def
regionReprojectMutable(raster: Raster[T], src: CRS, dest: CRS, target: Raster[T], region: Polygon, resampleMethod: resample.ResampleMethod, errorThreshold: Double): Raster[T]
Reproject raster to a region that may partially intersect target raster extent.
Reproject raster to a region that may partially intersect target raster extent.
Back-projects only the cells overlapping the destination region before sampling their value from the source raster. This can be used to avoid assigning destination cell values where there is insufficient data for resample kernel.
This is a mutable version of the region reproject. Target raster will be converted to mutable form and updated. In cases where target raster is subclass MutableArrayTile its values will be mutated. Its the responsability of the caller to use this function only when possible update in place is safe.\ Correct use of this function allows to avoid intermidate memory allocation when accumulating results of multiple reproject calls.
- raster
source raster to be sampled for reprojection.
- src
source raster CRS
- dest
target raster CRS
- target
target raster that will be updated with pixels from source raster
- region
polygon boundry of source raster in target CRS
- resampleMethod
cell value resample method
- errorThreshold
error threshold when using approximate row transformations in reprojection.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def regionReproject(raster: Raster[T], src: CRS, dest: CRS, rasterExtent: RasterExtent, region: Polygon, resampleMethod: resample.ResampleMethod): Raster[T]
- def regionReprojectMutable(raster: Raster[T], src: CRS, dest: CRS, target: Raster[T], region: Polygon, resampleMethod: resample.ResampleMethod): Raster[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
mutableRegionReproject(target: T, raster: Raster[T], src: CRS, dest: CRS, rasterExtent: RasterExtent, region: Polygon, resampleMethod: resample.ResampleMethod): Unit
- Annotations
- @deprecated
- Deprecated
(Since version 2.1) Use regionReprojectMerge instead