Skip to content

Instantly share code, notes, and snippets.

@ejc123
Created September 26, 2013 20:09
Show Gist options
  • Save ejc123/6719828 to your computer and use it in GitHub Desktop.
Save ejc123/6719828 to your computer and use it in GitHub Desktop.
This is how I'm calling the ops. I use the stats object which is a Summary to get the timing.
val maxOp = Histogram(tileSet, polygon, tile)
Demo.server.getResult(maxOp) match {
case Complete(median, stats) => {
(id,median.getMedian,stats.stopTime - stats.startTime)
}
case _ => (-1,geotrellis.NODATA,0L)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment