Hi, i am following the tutorial by https://developers.arcgis.com/python/sample-notebooks/coastline-extraction-usa-landsat8-multispectra...
i have having issue with the line :
gis2 = GIS('https://pythonapi.playground.esri.com/portal', 'arcgis_python', 'amazing_arcgis_123')
The error is unable to generate token. Invalid username and password.
Also with this line :
landsat_item = gis.content.search('title:Multispectral Landsat owner:esri_livingatlas tags:Multitemporal, imagery, landsat 8, temporal, MS', 'Imagery Layer', outside_org=True)[0] landsat = landsat_item.layers[0] landsat_item
The error is list index out of range
Same for this:
aoi = gis.content.search('usa_coast_buff_f', 'feature layer')[0]
The error is list index out of range.
Update on my issues. I have resolved the last two items. for the 2nd issue it was a query issue, the existing query in the tutorial given is invalid, have to update accordingly. For the last issue, it requires a "outside_org = True" argument in the function.
I still need help with the first issue, thanks in advance.