From 1e8780d79e1cbdfe8afb8adbdb26f8e5a353799f Mon Sep 17 00:00:00 2001 From: lossyrob Date: Wed, 21 Jun 2017 16:39:59 -0400 Subject: [PATCH] Fixes typos with rasterizer extension methods --- .../geotrellis/raster/rasterize/FeatureRasterizeMethods.scala | 2 +- .../geotrellis/raster/rasterize/GeometryRasterizeMethods.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/raster/src/main/scala/geotrellis/raster/rasterize/FeatureRasterizeMethods.scala b/raster/src/main/scala/geotrellis/raster/rasterize/FeatureRasterizeMethods.scala index 6244839b22..3789160f1a 100644 --- a/raster/src/main/scala/geotrellis/raster/rasterize/FeatureRasterizeMethods.scala +++ b/raster/src/main/scala/geotrellis/raster/rasterize/FeatureRasterizeMethods.scala @@ -38,7 +38,7 @@ trait FeatureIntRasterizeMethods[+G <: Geometry] extends MethodExtensions[Featur ct: CellType = IntConstantNoDataCellType, options: Options = Options.DEFAULT ): Raster[Tile] = - self.geom.rasterizeWithValueDouble(re, self.data, ct, options) + self.geom.rasterizeWithValue(re, self.data, ct, options) } /** diff --git a/raster/src/main/scala/geotrellis/raster/rasterize/GeometryRasterizeMethods.scala b/raster/src/main/scala/geotrellis/raster/rasterize/GeometryRasterizeMethods.scala index b4ddbcd22c..5aa1ec92ec 100644 --- a/raster/src/main/scala/geotrellis/raster/rasterize/GeometryRasterizeMethods.scala +++ b/raster/src/main/scala/geotrellis/raster/rasterize/GeometryRasterizeMethods.scala @@ -95,5 +95,5 @@ trait GeometryRasterizeMethods extends MethodExtensions[Geometry] { ct : CellType = DoubleConstantNoDataCellType, options: Options = Options.DEFAULT ): Raster[ArrayTile] = - rasterizeDouble(re)({ (col: Int, row: Int) => value }) + rasterizeDouble(re, ct, options)({ (col: Int, row: Int) => value }) }