-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
stack trace:
java.lang.IllegalArgumentException: step cannot be 0.
at scala.collection.immutable.NumericRange$.count(NumericRange.scala:279)
at scala.collection.immutable.NumericRange.numRangeElements$lzycompute(NumericRange.scala:52)
at scala.collection.immutable.NumericRange.numRangeElements(NumericRange.scala:51)
at scala.collection.immutable.NumericRange.length(NumericRange.scala:54)
at scala.collection.immutable.NumericRange.foreach(NumericRange.scala:72)
at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:183)
at geotrellis.server.ogc.Render$.linearInterpolationBreaks(Render.scala:40)
at geotrellis.server.ogc.ColorRampStyle.renderImage(OgcStyle.scala:64)
at geotrellis.server.ogc.Render$.apply(Render.scala:16)
at geotrellis.server.ogc.wms.WmsView$$anonfun$responseFor$1$$anonfun$apply$5.apply(WmsView.scala:91)
at geotrellis.server.ogc.wms.WmsView$$anonfun$responseFor$1$$anonfun$apply$5.apply(WmsView.scala:89)
at cats.effect.internals.IORunLoop$.cats$effect$internals$IORunLoop$$loop(IORunLoop.scala:139)
at cats.effect.internals.IORunLoop$RestartCallback.signal(IORunLoop.scala:351)
at cats.effect.internals.IORunLoop$RestartCallback.run(IORunLoop.scala:362)
at cats.effect.internals.Trampoline.cats$effect$internals$Trampoline$$immediateLoop(Trampoline.scala:70)
at cats.effect.internals.Trampoline.startLoop(Trampoline.scala:36)
at
with conf:
styles = [
{
name = "greyscale2"
title = "Greyscale Ramp"
type = "colorrampconf"
colors = ${color-ramps.slope}
min-render = 0
max-render = 80
stops = 255
}
]
"slope": [
0x000000FF, 0xFFFFFFFF
]