Add option {slice_type} to arcpy.sa.ShadedRelief and arcpy.ia.ShadedRelief

522
0
07-31-2023 09:24 AM
Status: Open
Labels (1)
WentaoChe
Occasional Contributor II

It would be beneficial to add a {slice_type} option to arcpy.sa.ShadedRelief and arcpy.ia.ShadedRelief.

The option {slice_type}  available in the Slice Tool are:  EQUAL_AREA, EQUAL_INTERVAL, NATURAL_BREAKS,GEOMETRIC_INTERVAL, STANDARD_DEVIATION_MEAN_CENTERED,STANDARD_DEVIATION_MEAN_BREAK, or DEFINED_INTERVAL

I created a ShadedRelief map using the EQAREA option of the Arc/Info Grid Slice tool and AML: ShadedRelief_By_AML.jpg

I created a shaded relief map using the arcpy.ia.ShadedRelief function in ArcGIS Pro:

color_ramp = 'Spectrum By Wavelength-Full Bright'

relief = arcpy.ia.ShadedRelief(dem_raster,315,75,1,color_ramp,'Degree')

The {slice_type} option is not availble for both arcpy.sa.ShadedRelief and arcpy.ia.ShadedRelief tools.

ShadedRelief_By_Pro.jpg

Please tell me, which one is your favorite?

Thanks in advance.

Wentao Che

Tags (2)