-
Notifications
You must be signed in to change notification settings - Fork 29
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
add_layer doesn't work with GeoTIFF file converted from xarray Dataset #159
Comments
I'm able to reproduce this... Something weird is happening here indeed. I will get to the bottom of this. |
Thanks! BTW, how did you usually create GeoTIFF files for localtileserver? Maybe conversion leads to something wrong. |
Try leafmap numpy_to_cog. https://leafmap.org/notebooks/47_numpy_to_cog/ |
There's definitely a bug specifically in localtileservers' handling of this data type that needs to be addressed, but maybe using
I usually use |
You can also use |
Thank you, guys. I tested
|
I should have some free time soon to dive into this and resolve it. I have some suspicions of what's happening... stay tuned. |
The issue with it only appearing at certain zoom levels is separate from the original issue. To fix this, you need to increase both As a quick fix, use |
In leafmap, I already fixed this. You should be able to use it directly without setting these two parameters. |
This will be fixed in the next release (0.10.0) given the switch to the more robust rio-tiler backend (verified example in #159 (comment)) |
I'm trying to add the layer using GeoTIFF file converted from xarray Dataset. However, it isn't shown in the map.
The text was updated successfully, but these errors were encountered: