Hello! We are experimenting to use this library, but it seems like it does not support a range of COGs we use as examples for developing.
I assume this is a known fault? Is there any work on this, and can I contribute in any way?
Here is the error we get:
ERROR Error: Unsupported PhotometricInterpretation 1
at photometricInterpretationToRGB (render-pipeline.js:128:19)
at createUnormPipeline (render-pipeline.js:39:25)
at inferRenderPipeline (render-pipeline.js:12:20)
at COGLayer._parseGeoTIFF (cog-layer.js:57:84)
Reproducible code snippet from my Angular code (the urls are the key here)
const container = this.mapContainer();
if (container) {
const map = new maplibregl.Map({
container: container.nativeElement,
style: 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json',
center: [0.45, 51.47],
zoom: 4,
bearing: 0,
pitch: 30,
});
const deckOverlay = new DeckOverlay({
interleaved: true,
layers: [
new COGLayer({
id: 'cog-layer',
geotiff:
'https://maxar-opendata.s3.dualstack.us-west-2.amazonaws.com/events/Kahramanmaras-turkey-earthquake-23/ard/37/031133102210/2022-07-20/10300100D6740900-pan.tif',
// geotiff: 'https://maxar-opendata.s3.dualstack.us-west-2.amazonaws.com/events/Kahramanmaras-turkey-earthquake-23/ard/37/031133102210/2022-07-20/10300100D6740900-pan.tif'
// geotiff: 'https://maxar-opendata.s3.dualstack.us-west-2.amazonaws.com/events/Kahramanmaras-turkey-earthquake-23/ard/37/031133102210/2022-07-20/10300100D6740900-ms.tif'
}),
],
});
map.addControl(deckOverlay)
}
});
Hello! We are experimenting to use this library, but it seems like it does not support a range of COGs we use as examples for developing.
I assume this is a known fault? Is there any work on this, and can I contribute in any way?
Here is the error we get:
Reproducible code snippet from my Angular code (the urls are the key here)