-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
GeoTIFF is not visible on map, add_raster #496
Comments
Sounds like a Windows issue. See #492 |
hello, I installed leafmap in a linux machine running Ubuntu. I had some issues creating an environment but eventually it is not giving errors when importing leafmap: conda create -n pyleafmap python=3.10 and here is the notebook: any ideas are greatly appreciated. |
If you have conda, you should avoid using pip to install packages. Try creating a fresh conda env: conda create -n geo python=3.11
conda activate geo
conda install -c conda-forge mamba
mamba install -c conda-forge leafmap localtileserver |
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:
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: