In addition to the pre-defined image collections, users can create "custom" collection to be displayed on the map.
The custom collection can be created with a call to inter.loadLocalRaster to display an image file that is present under the notebook folder (for instance a TIFF file exported from a ImageProcess object)
map = Map()
map
p = inter.loadLocalRaster("C03_Railroads_Airports.tif")
map.clear()
tlayer = map.addLayer(p.toLayer())
p = p.opacity(128)
map.clear()
tlayer = map.addLayer(p.toLayer())
Using ipyWidgets we can create a label and associate it to the identify operator that can be used to inspect the pixel values of the displayed image.
from ipywidgets import widgets
from IPython.display import display
label = widgets.Label(layout=widgets.Layout(width='100%'))
display(label)
mark = inter.identify(map,p,label)
mark.visible = False
mark.close()