locationtech / geotrellis

GeoTrellis is a geographic data processing engine for high performance applications.
http://geotrellis.io
Other
1.33k stars 362 forks source link

Add union to merge methods #3482

Open moradology opened 2 years ago

moradology commented 2 years ago

Overview

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

Checklist

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