Raster
Import thinkgreen
In [3]:
Copied!
import thinkgreen
import thinkgreen
Find a raster image that you would like to include in the map. This example here uses open source data from Digital Globe of satellite imagery from the Mauritius oil spill.
In [4]:
Copied!
url = "https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif"
url = "https://opendata.digitalglobe.com/events/mauritius-oil-spill/post-event/2020-08-12/105001001F1B5B00/105001001F1B5B00.tif"
Add raster layer to map.
In [5]:
Copied!
m = thinkgreen.Map()
m.add_raster(url, name="Cloud Optimazation")
m
m = thinkgreen.Map()
m.add_raster(url, name="Cloud Optimazation")
m
Out[5]:
Map(center=[20, 0], controls=(ZoomControl(options=['position', 'zoom_in_text', 'zoom_in_title', 'zoom_out_text…
Last update:
2023-05-11