GeoTIFF / GeoTIFF/georaster

Missing Tiles on COG edges where tile includes transparency

Open
#85 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
96
Forks
37
PR merge metrics
No merged PRs in 30d

Description

**Issue**
Error in Leaflet using georaster-layer-for-leaflet - `SOI not found.`

In Node with v 2.0.7+ using geotiff directly - `Cannot read properties of undefined (reading 'offset')`.

Use this raster as [long as it's hosted] inside georaster-layer-for-leaflet:
`https://tilestream-cogs.nyc3.digitaloceanspaces.com/OSU_Main_Campus_COG.tif`

**Expected behavior**
Receive an image tile - OpenLayers somehow handles these errors and is able to still return a valid tile, using geotiff version 2.0.7, but in geotiff.js in other applications such as this and in my own testing I cannot get past the errors in the `getTileOrStrip` code using the same version.

Desktop and Node

The issue cannot be with the `geotiff` library directly as OL works using the same codebase.

**Leaflet**

image

image

**OpenLayers**

image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.