Select to view content in your preferred language

Please support color2hue, color2sat, color2val, hsv2red, hsv2green, hsv2blue in ArcGIS Pro!

366
0
07-22-2024 10:16 AM
Status: Open
Labels (1)
WentaoChe
Frequent Contributor

It would be nice to have color2hue, color2sat, color2val, hsv2red, hsv2green, hsv2blue in ArcGIS Pro!

I have been using those functions in AML and Desktop to create color-shaded relief maps for our Japanese clients for more than 24 years.

  arcpy.gp.MultiOutputMapAlgebra_sa('tmp_h = color2hue(tmp_slice, #-rgb.txt)')
  arcpy.gp.MultiOutputMapAlgebra_sa('tmp_s = color2sat(tmp_slice, #-rgb.txt)')
  arcpy.ddd.HillShade(grd, 'tmp_v', azimuth, altitude, 'NO_SHADOWS', 1)
  arcpy.gp.MultiOutputMapAlgebra_sa('tmp_r = hsv2red(tmp_h,tmp_s,tmp_v)')
  arcpy.gp.MultiOutputMapAlgebra_sa('tmp_g = hsv2green(tmp_h,tmp_s,tmp_v)')
  arcpy.gp.MultiOutputMapAlgebra_sa('tmp_b = hsv2blue(tmp_h,tmp_s,tmp_v)')

Here is an example of a color-shaded relief map I created using arcpy.gp.MultiOutputMapAlgebra_sa:

WentaoChe_0-1721670105327.jpeg

Our natural terrain is as beautiful as jewelry!

I found that all those functions are not available in ArcGIS Pro! I would like to request your support to include all those functions in ArcGIS Pro!