Use band numbers starting with one

This commit is contained in:
Tim Schaub
2021-09-06 11:31:08 -06:00
parent 8a67c5dbe6
commit 0e4c40e315
2 changed files with 14 additions and 8 deletions

View File

@@ -7,14 +7,14 @@ const source = new GeoTIFF({
sources: [
{
url: 'https://s2downloads.eox.at/demo/Sentinel-2/3857/R10m.tif',
bands: [2, 3],
bands: [3, 4],
min: 0,
nodata: 0,
max: 65535,
},
{
url: 'https://s2downloads.eox.at/demo/Sentinel-2/3857/R60m.tif',
bands: [8],
bands: [9],
min: 0,
nodata: 0,
max: 65535,