geotrellis icon indicating copy to clipboard operation
geotrellis copied to clipboard

Add union to merge methods

Open moradology opened this issue 3 years ago • 0 comments

Overview

This PR adds a tile merging function, union which combines two input tiles so as to preserve all non-overlapping regions.

Checklist

  • [x] ./CHANGELOG.md updated, if necessary. Link to the issue if closed, otherwise the PR.
  • [x] New user API has useful Scaladoc strings
  • [x] Unit tests added for bug-fix or new feature

Demo

Union of two tiles; tile 1 with extent 0,0,1,1 and tile2 with extent 2,2,2.2,2.2. Output tile with extent of 0,0,2.2,2.2: image

Union of overlapping tiles with a function applied to average overlapping cell values: image

Closes #3365

moradology avatar Aug 03 '22 21:08 moradology