Skip to content

Commit

Permalink
Compute cellsize from tifftags
Browse files Browse the repository at this point in the history
  • Loading branch information
moradology committed Jan 30, 2017
1 parent 9cd664a commit 9fc2980
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ case class TiffTags(
nonStandardizedTags: NonStandardizedTags = NonStandardizedTags()
) {

def cellSize =
CellSize(this.extent.width / this.cols, this.extent.height / this.rows)

def compression =
(this
&|-> TiffTags._basicTags
Expand Down

0 comments on commit 9fc2980

Please sign in to comment.