-
Notifications
You must be signed in to change notification settings - Fork 21
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
Problem displaying GeoTIFF #13
Comments
It works fine on my local setup but it's not even pushed to master yet, we need an ipyleaflet release before. |
It should be fixed in v0.1.9. |
It seems there is still some weird black background when displaying GeoTIFF with v0.1.9. Here is the notebook to reproduce the issue. |
Can you try removing |
Fantastic! Removing that line solves the issue. I will be integrating xarray_leaflet into geemap shortly. Loading local datasets and cloud optimized GeoTIFF is a highly desirable feature. Thank you very much for your excellent work! |
BTW, can the color ramp be customized? |
I don't fully understand why removing this line makes it work though.
Thanks! I'm excited to see what you will do with xarray-leaflet, I think that to have you using it is a great opportunity to improve it. I'll try to keep up with your feedback!
Yes, for now it's just a matplotlib colormap so you can tweak it, see this example. Feedback is also welcome in #14. |
I was trying to display a small DEM (epsg:4326) on the map. However, I noticed the DEM was being displayed at three locations with varying sizes. Only the smallest one at the upper left is the correct one.
Here is the notebook to reproduce the issue.
The text was updated successfully, but these errors were encountered: