<?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 Re: Error 999999 running segment mean shift in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083526#M43843</link>
    <description>&lt;P&gt;Thank you for the response! Unfortunately that didn't solve my issue, I encountered the same error as the screenshot above.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 14:42:46 GMT</pubDate>
    <dc:creator>DBuback</dc:creator>
    <dc:date>2021-07-28T14:42:46Z</dc:date>
    <item>
      <title>Error 999999 running segment mean shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083467#M43838</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to classify an area using NAIP imagery, but encounter a 999999 whenever I attempt to do so. I've used the extract bands raster function to extract the 3 bands I want to use, and the raster is an 8-bit unsigned raster. Segmenting using the raster function works flawlessly, but fails whenever I try the gp tool or going through python. The code I'm using came directly from Esri's site (&lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/tools/spatial-analyst-toolbox/segment-mean-shift.htm" target="_blank"&gt;Segment Mean Shift—Help | ArcGIS for Desktop&lt;/A&gt;) and a screenshot is attached. I also attached a screenshot of the raster's properties. If anyone can help me out that would be greatly appreciated. Let me know if there's any other information needed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="segerror.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19509i0C37C10B49C690CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="segerror.JPG" alt="segerror.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rasterinfo.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19510i365FF246E5DF3A29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rasterinfo.JPG" alt="rasterinfo.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 12:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083467#M43838</guid>
      <dc:creator>DBuback</dc:creator>
      <dc:date>2021-07-28T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error 999999 running segment mean shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083516#M43841</link>
      <description>&lt;P&gt;Could you change the following line of the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;seg_raster = arcpy.sa.SegmentMeanShift(inRaster, 14.5, 10, 20, "1 2 3", -1)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I have used Spectral Detail, Spatial Detail and Min Segment Size as Numeric (Not Text). Also Max Segment Size is -1 (Default).&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 14:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083516#M43841</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-28T14:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error 999999 running segment mean shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083526#M43843</link>
      <description>&lt;P&gt;Thank you for the response! Unfortunately that didn't solve my issue, I encountered the same error as the screenshot above.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 14:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083526#M43843</guid>
      <dc:creator>DBuback</dc:creator>
      <dc:date>2021-07-28T14:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error 999999 running segment mean shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083663#M43859</link>
      <description>&lt;P&gt;in your code example you are passing&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;14.5, 10, 20&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;as strings...&amp;nbsp; try defining them as numbers. Also, in the error message it is specifically looking for&amp;nbsp;&lt;SPAN&gt;Max Segment Size.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 18:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083663#M43859</guid>
      <dc:creator>RichardDaniels</dc:creator>
      <dc:date>2021-07-28T18:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error 999999 running segment mean shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083688#M43863</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="segerror.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19567i9630A30F69A7B8AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="segerror.JPG" alt="segerror.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you for the suggestion. I changed them to numbers and included a max segment size. Still getting the same error message as before.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 19:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-999999-running-segment-mean-shift/m-p/1083688#M43863</guid>
      <dc:creator>DBuback</dc:creator>
      <dc:date>2021-07-28T19:15:15Z</dc:date>
    </item>
  </channel>
</rss>

