Skip to content
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

Added local raster support for SageMaker Studio Lab #359

Merged
merged 1 commit into from Feb 7, 2023
Merged

Added local raster support for SageMaker Studio Lab #359

merged 1 commit into from Feb 7, 2023

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented Feb 7, 2023

This PR adds support for visualizing local raster datasets on AWS, including SageMaker and Studio Lab.

@giswqs
Copy link
Member Author

giswqs commented Feb 7, 2023

%pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL
%pip install leafmap localtileserver
import leafmap.foliumap as leafmap

url = 'https://github.com/giswqs/data/raw/main/raster/srtm90.tif'
leafmap.download_file(url)

m = leafmap.Map()
m.add_raster('srtm90.tif', palette='terrain')
m

image

@giswqs giswqs merged commit 6b53219 into master Feb 7, 2023
@giswqs giswqs deleted the aws branch February 7, 2023 05:00
@giswqs giswqs changed the title Added local raster support for AWS Added local raster support for SageMaker Studio Lab Feb 7, 2023
giswqs added a commit that referenced this pull request Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant