Closed m-mohr closed 1 year ago
I'd suggest making the one-band use case a bit simpler by allowing 1 and 2 elements for the bands option, too.
bands
| `bands` | array of numbers | undefined | an array mapping the bands to the output bands. must be of length 1, 2, 3 or 4. |
_Originally posted by @m-mohr in https://github.com/stac-utils/stac-layer/pull/50#discussion_r1121370322_
Implemented in the stac-js branch
I'd suggest making the one-band use case a bit simpler by allowing 1 and 2 elements for the
bands
option, too._Originally posted by @m-mohr in https://github.com/stac-utils/stac-layer/pull/50#discussion_r1121370322_