mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
test for int resolution to merge worker
This commit is contained in:
parent
f73db7809e
commit
12bd5f5e1f
@ -399,3 +399,11 @@ def test_merge_rgb(tmpdir):
|
||||
|
||||
with rasterio.open(outputname) as src:
|
||||
assert [src.checksum(i) for i in src.indexes] == [25420, 29131, 37860]
|
||||
|
||||
|
||||
def test_merge_tiny_intres(tiffs):
|
||||
from rasterio.merge import merge
|
||||
inputs = [str(x) for x in tiffs.listdir()]
|
||||
inputs.sort()
|
||||
sources = [rasterio.open(x) for x in inputs]
|
||||
result = merge(sources, res=2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user