You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to run the example notebook with my image in Colab: https://leafmap.org/notebooks/05_load_raster/
The add_raster adds the image layer and the leafmap map zooms to the respective coordinates of the GeoTIFF file. However, the image is not visible.
What I Did
I added some changes to the original notebook:
added !pip install localtileserver line because otherwise the leafmap map returns the prompt about it failing to cache the image
added image = 'bogota.tif' line for the input image that can be obtained from bogota.tif
The command I used to add GeoTIFF image to the map:
m.add_raster(image)
The output of the lefmap map:
How it should look like (QGIS):
I also tried changing the layers opacity in the map GUI, but it didn't help.
The text was updated successfully, but these errors were encountered:
Environment Information
Description
I've been trying to run the example notebook with my image in Colab: https://leafmap.org/notebooks/05_load_raster/
The
add_raster
adds the image layer and the leafmap map zooms to the respective coordinates of the GeoTIFF file. However, the image is not visible.What I Did
I added some changes to the original notebook:
!pip install localtileserver
line because otherwise the leafmap map returns the prompt about it failing to cache the imageimage = 'bogota.tif'
line for the input image that can be obtained from bogota.tifThe command I used to add GeoTIFF image to the map:
The output of the lefmap map:
![Screenshot_1](https://private-user-images.githubusercontent.com/45131492/254296761-f28e7845-28eb-4feb-a7d1-f68c64136e29.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0Njg4MDUsIm5iZiI6MTcyMDQ2ODUwNSwicGF0aCI6Ii80NTEzMTQ5Mi8yNTQyOTY3NjEtZjI4ZTc4NDUtMjhlYi00ZmViLWE3ZDEtZjY4YzY0MTM2ZTI5LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDE5NTUwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4MmMzZjExMzNmMzc2NGI2ODEwNzMwZTEzNjEyNTAxZDE1YmQwNzJjYjJmNGE2OTIxM2I1Y2FjMGY0NDUzZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4Z3fpky6lXMCJlhc-VxlRIg6NlNI3i8D2U5piKYH9yA)
How it should look like (QGIS):
I also tried changing the layers opacity in the map GUI, but it didn't help.
The text was updated successfully, but these errors were encountered: