Skip to content
Permalink
Browse files

Remove Excess Whitespace

Signed-off-by: James McClain <jmcclain@azavea.com>
  • Loading branch information
jamesmcclain authored and echeipesh committed Jul 24, 2017
1 parent b67295b commit f5cbc9c673d4f5aa960b72edd7cec843480f8a93
@@ -35,7 +35,7 @@ trait ReadState {

/**
* Creates the Tile of the resampled Raster.
* By default creates an ArrayTile of the
* By default creates an ArrayTile of the
* type defined by getType.
*/
def createTile(cols: Int, rows: Int): MutableArrayTile = ArrayTile.empty(getType, cols, rows)
@@ -97,7 +97,7 @@ trait ReadState {
// TODO: only initialize the part we will read from
val src_size = src_rows * src_cols
initSource(0, src_size)

// this is the resampled destination array
val dst_size = dst_cols * dst_rows
val resampled = createTile(dst_cols, dst_rows)
@@ -123,12 +123,12 @@ trait ReadState {

// start at the X-center of the first dst grid cell
var x = xbase

// loop over cols
cfor(0)(_ < dst_cols, _ + 1) { dst_col =>
// calculate the X grid coordinate to read from
val src_col = (x / src_cellwidth).asInstanceOf[Int]

// compute src and dst indices and ASSIGN!
val src_i = src_span + src_col

@@ -139,7 +139,7 @@ trait ReadState {
val dst_i = dst_span + dst_col
assignFromSource(src_i, resampled, dst_i)
}

// increase our X map coordinate
x += dst_cellwidth
}
@@ -27,7 +27,7 @@ trait SinglebandRasterReprojectMethods extends RasterReprojectMethods[Singleband
import Reproject.Options

def reproject(
targetRasterExtent: RasterExtent,
targetRasterExtent: RasterExtent,
transform: Transform,
inverseTransform: Transform,
options: Options
@@ -44,7 +44,7 @@ object TileRDDReproject {
* @tparam K Key type; requires spatial component.
* @tparam V Tile type; requires the ability to stitch, crop, reproject, merge, and create.
*
* @param bufferedTiles An RDD of buffered tiles, created using the BufferTiles operation.
* @param bufferedTiles An RDD of buffered tiles, created using the BufferTiles operation.
* @param metadata The raster metadata for this keyed tile set.
* @param destCrs The CRS to reproject to.
* @param targetLayout Either the layout scheme or layout definition to use when re-keying the reprojected layers.

0 comments on commit f5cbc9c

Please sign in to comment.
You can’t perform that action at this time.