Select to view content in your preferred language

Raster Function Parameters — Auto-fill Raster picklist and make it clear that it's mandatory

250
1
01-02-2025 01:10 PM
Status: Open
Labels (1)
Bud
by
Esteemed Contributor

ArcGIS Pro 2.9.5; color JPG

Background: Convert color image to grayscale: Failed to apply Grayscale

I'm new to Raster Functions. I had an issue where I didn't realize I needed to specify the raster layer in the Raster picklist, so I was getting an error: "Failed to apply Grayscale".

Bud_0-1735851561898.png

Bud_1-1735851570254.png

I see now that the error message in the History pane lists the cause of the problem:

Bud_2-1735851759875.png

But I'm still wondering if it could be more intuitive.

  • Populate the picklist automatically using the selected layer in the Contents pane?
  • Make it more obvious that the Raster parameter is mandatory, such as a red asterisk like other GP tools?
    Bud_3-1735851991585.png
  • Or something better?
1 Comment
AlfredBaldenweck

Yeah this one is such a simple thing and yet it bites me ALL the time.

Like, at a minimum put the star next to it, you know? Or don't run at all if that field is empty.