Leafmap foliumap not plotting raster Sagemaker Studio #714
Replies: 3 comments 12 replies
-
Did you install jupyter-server-proxy on SageMaker Studio? You can also check the chrome netowrk tab to see what the error is. |
Beta Was this translation helpful? Give feedback.
-
Actually, it should be: import os
os.environ['LOCALTILESERVER_CLIENT_PREFIX'] = f"studiolab/default/jupyter/proxy/{{port}}" See this. |
Beta Was this translation helpful? Give feedback.
-
With that string or the one before, i end up getting the same 404 error. I saw the issue you posted on the localtileserver but was wondering if you ended up finding the string to use with Sagemaker Studio (Paid) instead of the Studio Lab.
|
Beta Was this translation helpful? Give feedback.
-
I'm working of Sagemaker Studio and trying to plot a few rasters using leafmap.
As per the tutorials available on the documentation, i'm importing leafmap with the foliumap backend and trying to use the add_raster method to display on the map. When the code is executed, the map loads, the layer name shows on the layer pane but the image is not being displayed.
Any ideas of why this might be happening?
Ps: I zipped the raster i'm using because github doesn't let me attach it here
teste (4).zip
Beta Was this translation helpful? Give feedback.
All reactions