Implement raster interpolator
Closed this issue · 1 comments
thure commented
This should be able to take a 2D array, possibly even an image (rgb and/or rgba channels of values), and assign the average value for each channel inside each polygon produced by toCG
's _interfieldTriangles
.
The algorithm should assume the array is a plate carrée projection. Maybe other projections could be supported in the future.
thure commented
Reference: Point in Polygon Strategies