<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic error in coastline extraction tutorial in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-coastline-extraction-tutorial/m-p/1045679#M5909</link>
    <description>&lt;P&gt;Hi, i am following the tutorial by&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/sample-notebooks/coastline-extraction-usa-landsat8-multispectral-imagery/" target="_blank"&gt;https://developers.arcgis.com/python/sample-notebooks/coastline-extraction-usa-landsat8-multispectral-imagery/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have having issue with the line :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;gis2&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;GIS&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'https://pythonapi.playground.esri.com/portal'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'arcgis_python'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'amazing_arcgis_123'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The error is unable to generate token. Invalid username and password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also with this line :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;landsat_item&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;content&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;search&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'title:Multispectral Landsat owner:esri_livingatlas tags:Multitemporal, imagery, landsat 8, temporal, MS'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'Imagery Layer'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;outside_org&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="kc"&gt;True&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)[&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;0&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;landsat&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;landsat_item&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;layers&lt;/SPAN&gt;&lt;SPAN class="p"&gt;[&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;0&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;landsat_item&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The error is list index out of range&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same for this:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="n"&gt;aoi&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;content&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;search&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'usa_coast_buff_f'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'feature layer'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;The error is list index out of range.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Apr 2021 10:13:56 GMT</pubDate>
    <dc:creator>e0575625_MSC2020</dc:creator>
    <dc:date>2021-04-10T10:13:56Z</dc:date>
    <item>
      <title>error in coastline extraction tutorial</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-coastline-extraction-tutorial/m-p/1045679#M5909</link>
      <description>&lt;P&gt;Hi, i am following the tutorial by&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/sample-notebooks/coastline-extraction-usa-landsat8-multispectral-imagery/" target="_blank"&gt;https://developers.arcgis.com/python/sample-notebooks/coastline-extraction-usa-landsat8-multispectral-imagery/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have having issue with the line :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;gis2&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;GIS&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'https://pythonapi.playground.esri.com/portal'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'arcgis_python'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'amazing_arcgis_123'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The error is unable to generate token. Invalid username and password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also with this line :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;landsat_item&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;content&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;search&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'title:Multispectral Landsat owner:esri_livingatlas tags:Multitemporal, imagery, landsat 8, temporal, MS'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'Imagery Layer'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;outside_org&lt;/SPAN&gt;&lt;SPAN class="o"&gt;=&lt;/SPAN&gt;&lt;SPAN class="kc"&gt;True&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)[&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;0&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;landsat&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;landsat_item&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;layers&lt;/SPAN&gt;&lt;SPAN class="p"&gt;[&lt;/SPAN&gt;&lt;SPAN class="mi"&gt;0&lt;/SPAN&gt;&lt;SPAN class="p"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;landsat_item&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The error is list index out of range&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Same for this:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="n"&gt;aoi&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;content&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;search&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;'usa_coast_buff_f'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;'feature layer'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)[0]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="p"&gt;The error is list index out of range.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 10:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-coastline-extraction-tutorial/m-p/1045679#M5909</guid>
      <dc:creator>e0575625_MSC2020</dc:creator>
      <dc:date>2021-04-10T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: error in coastline extraction tutorial</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-coastline-extraction-tutorial/m-p/1045684#M5910</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I still need help with the first issue, thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 14:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-coastline-extraction-tutorial/m-p/1045684#M5910</guid>
      <dc:creator>e0575625_MSC2020</dc:creator>
      <dc:date>2021-04-10T14:08:18Z</dc:date>
    </item>
  </channel>
</rss>

