Skip to content

Missing Tiles on COG edges where tile includes transparency #85

@reyemtm

Description

@reyemtm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions