-
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
COG area displayed, but COG itself appears to not be shown #89
Comments
Hi, happy to help debug. Could you try the prerelease version and let me know if that works? npm install georaster-layer-for-leaflet@next |
Continued messing around has gotten me closer (but not in a sustainable way):
|
Oh very interesting. Thanks for sharing all of this! Could you also share the output when you run If possible, it'd also be great to see the output of import { fromUrl } from "geotiff";
const tif = await fromUrl(url);
const img = await tif.getImage();
console.log(img.fileDirectory); Thank you! I should also mention that I can help debug if you want to email me the tif at [email protected] (doesn't have to be shared publicly). |
I emailed you with the information requested. Thanks for your assistance! |
I am trying to display a COG as an overlay on my map, and the layer itself exists, but the image is not actually displayed. Zooming in and out shows calls being made to grab the data at particular points, but nothing ever displays.
To Reproduce
I presume I am missing something simple, but my basic code that I have tried variations of messing around with:
Current environment:
MacOS 14.4.1, Chrome Latest, Apple MBP M3
The actual COG loads fine in QGIS fine, for what its worth.
I can't provide a sample of the whole code, but the maps otherwise work fine, just this integration of the COGs into it is having a problem. Thanks for any suggestions.
Edit:
Noting that the rectangle drawn (red line) comes from other layers drawn
The text was updated successfully, but these errors were encountered: