-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Tiles on COG edges where tile includes transparency #85
Comments
Hi, @reyemtm . Thanks for flagging this. I'll take a look. |
I created a test for this file on my local repo of https://github.com/GeoTIFF/geotiff-tile and at least geotiff-tile successfully renders the tiles. I'll continue to investigate. As background information, I'm working on getting geotiff-tile into georaster-layer-for-leaflet, so once that's done it should render accurately. |
If you can track down the workaround for the error that would be awesome - in my use case I am using geotiff directly but noticed the errors were in this library as well. I’ll try out geotiff tile and see if that changes anything in my testing.
Thanks
… On Nov 16, 2023, at 9:13 PM, Daniel J. Dufour ***@***.***> wrote:
I created a test for this file on my local repo of https://github.com/GeoTIFF/geotiff-tile and at least geotiff-tile successfully renders the tiles. I'll continue to investigate.
As background information, I'm working on getting geotiff-tile into georaster-layer-for-leaflet, so once that's done it should render accurately.
—
Reply to this email directly, view it on GitHub <#85 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABQ2HUOTIJB5BBSL7RWBNBTYE3B5HAVCNFSM6AAAAAA7O5GAM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVGYZTQOBVGQ>.
You are receiving this because you were mentioned.
|
It looks like the issue is with using |
Wow, thanks for tracking that down! Not sure I would have figured that out :-) |
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
OpenLayers
The text was updated successfully, but these errors were encountered: