Skip to content

Add more info for selecting rasters #15

Description

@hjkristenson

ArcGIS Pro allows navigation to the band level when selecting input raster datasets. Because the input requires the raster dataset, not just the single band, if you enter that as the input there will be an error. This is not an issue in ArcMap, because you cannot navigate to the band level when selecting the input raster.

This could be dealt with by a number of approaches (potentially):

  • Change the parameter filters (if possible) to designate that it must be the whole raster
  • Amend the documentation (parameter tips in the XML for all tools with a raster input parameter) to clarify that you can't drill down as far as the band for the input
  • Make the error message returned by the incorrect parameter input more informative (not sure where that happens in the .pyt code, or if it's possible to change that)

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions