Skip to content

Commit

Permalink
Use GeoTrellis value to demo
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain committed Aug 8, 2017
1 parent 7432dcf commit 77c8ab4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/main/scala/WebServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import DefaultJsonProtocol._
import com.typesafe.config.ConfigFactory
import com.typesafe.scalalogging.LazyLogging

import geotrellis.raster.NODATA

object WebServer extends HttpApp with App with LazyLogging {
def routes: Route =
get {
Expand All @@ -20,7 +22,6 @@ object WebServer extends HttpApp with App with LazyLogging {
path("run") {
entity(as[String]) { input =>
println(input)
val NODATA = Int.MinValue
val output = Map(
List(90, 1) -> 1,
List(31, 3) -> 57,
Expand Down

0 comments on commit 77c8ab4

Please sign in to comment.