Skip to content

Commit

Permalink
Merge pull request #106 from geotrellis/feature/sparse-stitch
Browse files Browse the repository at this point in the history
Use gt-contrib sparse stitch
  • Loading branch information
moradology authored Apr 17, 2019
2 parents 21ba41f + 96ee0ac commit 35bc457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ogc/src/main/scala/geotrellis/server/ogc/OgcLayer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import geotrellis.raster.resample._
import geotrellis.raster.io.geotiff._
import geotrellis.raster.reproject.ReprojectRasterExtent
import geotrellis.vector.Extent
import geotrellis.vector.io._
import geotrellis.proj4.CRS
import com.azavea.maml.ast._

Expand Down Expand Up @@ -50,6 +51,7 @@ object SimpleOgcLayer extends LazyLogging {
(extent: Extent, cs: CellSize) => IO {
val targetGrid = new GridExtent[Long](extent, cs)
logger.debug(s"attempting to retrieve layer $self at extent $extent with $cs ${targetGrid.cols}x${targetGrid.rows}")
logger.trace(s"Requested extent geojson: ${extent.toPolygon.toGeoJson}")
val raster: Raster[MultibandTile] = self.source
.reprojectToRegion(self.crs, targetGrid.toRasterExtent, NearestNeighbor, AutoHigherResolution)
.read(extent)
Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object Dependencies {

val circeVer = "0.11.1"
val gtVer = "3.0.0-M3-SNAPSHOT"
val gtcVer = "3.11.0"
val gtcVer = "3.12.0"
val http4sVer = "0.20.0-M6"
val scalaVer = "2.11.12"
val crossScalaVer = Seq(scalaVer, "2.12.7")
Expand Down Expand Up @@ -38,7 +38,7 @@ object Dependencies {
val kamonPrometheus = "io.kamon" %% "kamon-prometheus" % "1.0.0"
val kamonSysMetrics = "io.kamon" %% "kamon-system-metrics" % "1.0.0"
val kindProjector = "org.spire-math" %% "kind-projector" % "0.9.4"
val mamlJvm = "com.azavea" %% "maml-jvm" % "0.3.0"
val mamlJvm = "com.azavea" %% "maml-jvm" % "0.3.2"

// Note: pureconfig is not yet stable, version 0.10.0 is not binary copatible with 0.9.2 which is used by GT
val pureConfig = "com.github.pureconfig" %% "pureconfig" % "0.9.2"
Expand Down

0 comments on commit 35bc457

Please sign in to comment.