Raster
Loading local raster datasets with geonexus
Uncomment the following line to install geonexus if needed.
In [1]:
Copied!
# !pip install geonexus
# !pip install geonexus
Use the ipyleaflet plotting backend. The folium plotting backend does not support the add_raster
function.
In [2]:
Copied!
import geonexus
import geonexus
Create an interactive map
In [3]:
Copied!
m = geonexus.Map()
m
m = geonexus.Map()
m
Out[3]:
In [4]:
Copied!
# import geonexus
m = geonexus.Map()
url = "https://github.com/opengeos/datasets/releases/download/raster/srtm90.tif"
m.add_raster(url)
m
# m.add_layer_control()
# import geonexus
m = geonexus.Map()
url = "https://github.com/opengeos/datasets/releases/download/raster/srtm90.tif"
m.add_raster(url)
m
# m.add_layer_control()
Out[4]: