Skip to content

Commit

Permalink
expose getClosestOverview into public
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin authored and echeipesh committed Sep 14, 2018
1 parent fc67aac commit c4053c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ trait GeoTiff[T <: CellGrid] extends GeoTiffData {
def crop(windows: Seq[GridBounds]): Iterator[(GridBounds, T)]

/** Return the best matching overview to the given cellSize, returns "this" if no overviews available. */
private[geotrellis] def getClosestOverview(cellSize: CellSize, strategy: OverviewStrategy): GeoTiff[T] = {
def getClosestOverview(cellSize: CellSize, strategy: OverviewStrategy = AutoHigherResolution): GeoTiff[T] = {
overviews match {
case Nil => this
case list =>
Expand Down

0 comments on commit c4053c7

Please sign in to comment.