Skip to content

Commit

Permalink
Continued reimplamentation of segmentTransform calls in GeoTiffTile
Browse files Browse the repository at this point in the history
Signed-off-by: jbouffard <jbouffard@azavea.com>
  • Loading branch information
jbouffard committed Dec 9, 2016
1 parent 8545e04 commit ed88c6f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,13 @@ abstract class GeoTiffTile(
for (segmentId <- segmentBytes.intersectingSegments) {
val segment = getSegment(segmentId)
val segmentBounds = segmentLayout.getGridBounds(segmentId)
val segmentTransform = segmentLayout.getSegmentTransform(segmentId)

val segmentTransform =
if (segmentLayout.isStriped)
StripedSegmentTransform(segmentId, segmentLayout)
else
TiledSegmentTransform(segmentId, segmentLayout)

val overlap = bounds.intersection(segmentBounds).get

if (tile.cellType.isFloatingPoint) {
Expand Down

0 comments on commit ed88c6f

Please sign in to comment.