Arcgis In Python
How to use arcgis in python
Installation
conda install -c esri arcgis
Test installation
from arcgis.gis import GIS
my_gis = GIS()
m = my_gis.map()
m
Working with imagery
set item type to: Imagery Layer
import arcgis
from arcgis.gis import GIS
from IPython.display import display
gis = GIS()
items = gis.content.search("Landsat 8 Views", item_type="Imagery Layer", max_items=3)
for item in items:
display(item)
Obtaining imagery based on their item id
l8_views = gis.content.get('4ca13f0e4e29403fa68c46d188c4be73')
l8_views
Accessing ImageryLayer
from Imagery Layer items