<?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: aproblem with unsupervised classification in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/aproblem-with-unsupervised-classification/m-p/598834#M8699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;fix all file paths in your script, they should be double-backslashes, single forward-slashes or use the raw notation, ie&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"c:\\temp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"c:/temp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;r"c:\temp"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 14:08:44 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2011-12-02T14:08:44Z</dc:date>
    <item>
      <title>aproblem with unsupervised classification</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/aproblem-with-unsupervised-classification/m-p/598833#M8698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have an issue with the python code i took from the arcgis help &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;im trying to run it but without any succes i modify to the durectory and the rasters i work with but it keeps telling me that i have error 000735 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HERE"S THE PYTHON CODE &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Name: IsoClusterUnsupervisedClassification_Ex_02.py&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Description: Uses an isodata clustering algorithm to determine the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; characteristics of the natural groupings of cells in multidimensional &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp; attribute space and stores the results in an output ASCII signature file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Requirements: Spatial Analyst Extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Author: ESRI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Import system modules&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import sys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy.sa import *&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Set environment settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;env.workspace = "e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Set local variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inRaster = sys.argv[1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;classes = 8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;minMembers = 50&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sampInterval = 15&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Check out the ArcGIS Spatial Analyst extension license&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.CheckOutExtension("Spatial")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Execute IsoCluster&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outUnsupervised = IsoClusterUnsupervisedClassification(inRaster, classes, minMembers, sampInterval)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;outUnsupervised.save("e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.pyoutunsup01.tif")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and heres the error that appears after the process &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "e:\Users\profiles\sjmeel77\Desktop\arcgis_jmeel\iso_clustre.py", line 29, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outUnsupervised = IsoClusterUnsupervisedClassification(inRaster, classes, minMembers, sampInterval)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Functions.py", line 6607, in IsoClusterUnsupervisedClassification&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out_signature_file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Utils.py", line 47, in swapper&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = wrapper(*args, **kwargs)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\sa\Functions.py", line 6600, in wrapper&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out_signature_file)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\geoprocessing\_base.py", line 474, in &amp;lt;lambda&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return lambda *args: val(*gp_fixargs(args))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000732: Input raster bands: Dataset 11 does not exist or is not supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000735: Output classified raster: Value is required&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (IsoClusterUnsupervisedClassification).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have reached dead end so plz help me if u can&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 09:59:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/aproblem-with-unsupervised-classification/m-p/598833#M8698</guid>
      <dc:creator>jmeelyounis</dc:creator>
      <dc:date>2011-11-30T09:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: aproblem with unsupervised classification</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/aproblem-with-unsupervised-classification/m-p/598834#M8699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;fix all file paths in your script, they should be double-backslashes, single forward-slashes or use the raw notation, ie&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"c:\\temp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"c:/temp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;r"c:\temp"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 14:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/aproblem-with-unsupervised-classification/m-p/598834#M8699</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-12-02T14:08:44Z</dc:date>
    </item>
  </channel>
</rss>

