<?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: Reclass slope in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117484#M9226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or (lazy answer), replace the value to 91 - then you're guaranteed to include the maximum value of 90 degrees regardless of the actual maximum data value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 16:18:20 GMT</pubDate>
    <dc:creator>DarrenWiens2</dc:creator>
    <dc:date>2015-03-16T16:18:20Z</dc:date>
    <item>
      <title>Reclass slope</title>
      <link>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117482#M9224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i have a slope layer and i want to reclass it in to classes with python in arcpy window. I used this code:&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;from arcpy import env&amp;nbsp; &lt;/P&gt;&lt;P&gt;from arcpy.sa import *&lt;/P&gt;&lt;P&gt;# Set environment settings&lt;/P&gt;&lt;P&gt;env.workspace = "c:/suit/Sik"&lt;/P&gt;&lt;P&gt;# Set local variables&lt;/P&gt;&lt;P&gt;inRaster = "outSlope"&lt;/P&gt;&lt;P&gt;reclassField = "VALUE"&lt;/P&gt;&lt;P&gt;RclSlope = Reclassify("outSlope", "VALUE", RemapRange([[0,45,1],[45,87,2]]))&lt;/P&gt;&lt;P&gt;RclSlope.save("c:/suit/Sik/RclSlope")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but finally i get 3 classes[0-45 1st class, 45-87 2nd class, 87 3rd class] due to the reason that in the second class. 87 is not the maximum value of slope but 87,7 is. How can i write the code so as to take the maximum value of slope at the second class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: Slope is countable to degrees&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117482#M9224</guid>
      <dc:creator>KONPETROV</dc:creator>
      <dc:date>2015-03-16T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reclass slope</title>
      <link>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117483#M9225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could replace the value of 87 with 88. Then the maximum value of 87.7 would be included in the second class itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 16:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117483#M9225</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-03-16T16:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reclass slope</title>
      <link>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117484#M9226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or (lazy answer), replace the value to 91 - then you're guaranteed to include the maximum value of 90 degrees regardless of the actual maximum data value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 16:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117484#M9226</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-03-16T16:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reclass slope</title>
      <link>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117485#M9227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hahaha ok, it wasn't so complicated as i thought. Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 16:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117485#M9227</guid>
      <dc:creator>KONPETROV</dc:creator>
      <dc:date>2015-03-16T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reclass slope</title>
      <link>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117486#M9228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just remember as well, that you can go into the symbology the layer and change the labels for the classes to represent what you want for example &lt;/P&gt;&lt;P&gt;real easy&lt;/P&gt;&lt;P&gt;No too bad&lt;/P&gt;&lt;P&gt;getting tired&lt;/P&gt;&lt;P&gt;grief!!! who picked this route&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and not show the actual values at all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 17:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/reclass-slope/m-p/117486#M9228</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-03-16T17:37:32Z</dc:date>
    </item>
  </channel>
</rss>

