<?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: python and spatial analyst in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-and-spatial-analyst/m-p/739393#M57188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;Hope you can help me. i'm doing the online course intro to spatial analyst in ArcMap 10.1. &lt;BR /&gt;I have the spatial analyst toolbox installed and active trough the customize windows.&lt;BR /&gt;&lt;BR /&gt;However, when I try to use a command in the python window, e.g. slope, the command is not recognized and I receive an error message. So probably I should load or activate something. however, this is not explained in the intro excercise so I'm rather stuck and could not find anything in the help files.&lt;BR /&gt;&lt;BR /&gt;probably a silly easy question but i hope something is willing to help me out&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Willem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to use the "Slope" command you can either write:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.sa.Slope(in_raster, {output_measurement}, {z_factor}) # using the Slope function from Spatial Analyst&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.Slope_3d(in_raster, out_raster, {output_measurement}, {z_factor}) # using the Slope function from 3D Analyst&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...or import the sa (Spatial Analyst) module and call the Slope function directly:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;from arcpy.sa import * Slope(in_raster, {output_measurement}, {z_factor})&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 10:11:08 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2013-11-05T10:11:08Z</dc:date>
    <item>
      <title>python and spatial analyst</title>
      <link>https://community.esri.com/t5/python-questions/python-and-spatial-analyst/m-p/739392#M57187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you can help me. i'm doing the online course intro to spatial analyst in ArcMap 10.1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the spatial analyst toolbox installed and active trough the customize windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I try to use a command in the python window, e.g. slope, the command is not recognized and I receive an error message. So probably I should load or activate something. however, this is not explained in the intro excercise so I'm rather stuck and could not find anything in the help files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;probably a silly easy question but i hope something is willing to help me out&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 09:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-spatial-analyst/m-p/739392#M57187</guid>
      <dc:creator>WillemVerhagen</dc:creator>
      <dc:date>2013-11-05T09:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: python and spatial analyst</title>
      <link>https://community.esri.com/t5/python-questions/python-and-spatial-analyst/m-p/739393#M57188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;Hope you can help me. i'm doing the online course intro to spatial analyst in ArcMap 10.1. &lt;BR /&gt;I have the spatial analyst toolbox installed and active trough the customize windows.&lt;BR /&gt;&lt;BR /&gt;However, when I try to use a command in the python window, e.g. slope, the command is not recognized and I receive an error message. So probably I should load or activate something. however, this is not explained in the intro excercise so I'm rather stuck and could not find anything in the help files.&lt;BR /&gt;&lt;BR /&gt;probably a silly easy question but i hope something is willing to help me out&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Willem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to use the "Slope" command you can either write:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.sa.Slope(in_raster, {output_measurement}, {z_factor}) # using the Slope function from Spatial Analyst&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.Slope_3d(in_raster, out_raster, {output_measurement}, {z_factor}) # using the Slope function from 3D Analyst&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...or import the sa (Spatial Analyst) module and call the Slope function directly:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;from arcpy.sa import * Slope(in_raster, {output_measurement}, {z_factor})&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 10:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-spatial-analyst/m-p/739393#M57188</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2013-11-05T10:11:08Z</dc:date>
    </item>
  </channel>
</rss>

