<?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 hillshade command producing odd results in arcpy for arcpro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/hillshade-command-producing-odd-results-in-arcpy/m-p/266447#M11686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a stand alone script in python 3.4 that uses ArcPro arcpy to complete various geoprocessing tasks on a list of input DEMs. One of the tasks is a hillshade, which is usually very straightforward. When I run the script (below), I get a very odd result (attached as hillshade1), which defaults to display the hillshade as using the unique categories symbology when you open it in ArcPro. If I switch the symbology to stretched, it appears as expected (attached as hillshade2) so the correct data is there. Also, if I run hillshade in ArcPro using the geoprocessing tools, the results return a stretched default symbology as expected (as in hillshade2 below). I don't see any options in the code for the hillshade command that determine default symbology. In addition, this code ran fine previously as part of a stand alone script with python 2.7 and ArcGIS Desktop. What is the disconnect between running the tool in ArcPro and running it in a stand alone script using python 3.4 and the arcpy package? Is this a bug or is there something I can do in my code? Thanks!&lt;IMG alt="script_excerpt.JPG" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/208772_script_excerpt.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;hillshade1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="hillshade1.JPG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/208767_hillshade1.JPG" style="width: 620px; height: 541px;" /&gt;&lt;/P&gt;&lt;P&gt;hillshade2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="hillshade2.JPG" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/208768_hillshade2.JPG" style="width: 620px; height: 554px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 18:05:16 GMT</pubDate>
    <dc:creator>SuzannKienast-Brown</dc:creator>
    <dc:date>2016-06-23T18:05:16Z</dc:date>
    <item>
      <title>hillshade command producing odd results in arcpy for arcpro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/hillshade-command-producing-odd-results-in-arcpy/m-p/266447#M11686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a stand alone script in python 3.4 that uses ArcPro arcpy to complete various geoprocessing tasks on a list of input DEMs. One of the tasks is a hillshade, which is usually very straightforward. When I run the script (below), I get a very odd result (attached as hillshade1), which defaults to display the hillshade as using the unique categories symbology when you open it in ArcPro. If I switch the symbology to stretched, it appears as expected (attached as hillshade2) so the correct data is there. Also, if I run hillshade in ArcPro using the geoprocessing tools, the results return a stretched default symbology as expected (as in hillshade2 below). I don't see any options in the code for the hillshade command that determine default symbology. In addition, this code ran fine previously as part of a stand alone script with python 2.7 and ArcGIS Desktop. What is the disconnect between running the tool in ArcPro and running it in a stand alone script using python 3.4 and the arcpy package? Is this a bug or is there something I can do in my code? Thanks!&lt;IMG alt="script_excerpt.JPG" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/208772_script_excerpt.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;hillshade1&lt;/P&gt;&lt;P&gt;&lt;IMG alt="hillshade1.JPG" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/208767_hillshade1.JPG" style="width: 620px; height: 541px;" /&gt;&lt;/P&gt;&lt;P&gt;hillshade2&lt;/P&gt;&lt;P&gt;&lt;IMG alt="hillshade2.JPG" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/208768_hillshade2.JPG" style="width: 620px; height: 554px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 18:05:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/hillshade-command-producing-odd-results-in-arcpy/m-p/266447#M11686</guid>
      <dc:creator>SuzannKienast-Brown</dc:creator>
      <dc:date>2016-06-23T18:05:16Z</dc:date>
    </item>
  </channel>
</rss>

