Skip to main content
Open

RasterExpressionEvaluator should support ad hoc rasters ports

Related products:Transformers
  • July 2, 2020
  • 1 reply
  • 47 views

jdh
Contributor
Forum|alt.badge.img+40

The RasterExpressionEvaluator supports only 1 or 2 rasters. It would be nice if you could add as many input ports as required. Similarly to how the MapnikRasterizer behaves.

While it is possible to workaround by using a RasterBandCombiner to combine all the rasters into 1, this is not very efficient and can make for complicated expressions.

1 reply

fgiron
Enthusiast
Forum|alt.badge.img+26
  • Enthusiast
  • November 29, 2023

This is a great idea. I agree, it would be great to have a "Connect Input" port as in the MapnikRasterizer, InlineQuerier, RCaller, FeatureWriter, and so on.

I was teaching a course this week and one participant asked about this feature. She was expecting the RasterExpressionEvaluator to be the equivalent to the Raster Calculator in ArcGIS, but she was missing that there you can use as many rasters as you want.