Skip to main content
Solved

Raster images: Is there a way to prompt the workspace user for which file to read?

  • March 22, 2021
  • 1 reply
  • 12 views

jonas_nelson
Enthusiast
Forum|alt.badge.img+25

If I have a workspace that deals with raster images, is there a way - maybe as a User Parameter - to get the person running the workspace to choose which raster image to use as the input for the workspace?

 

For instance, User A might want to run with a .TIF file, and User B might want to process a .JPG

Best answer by caracadrian

Use GenericReader.

It creates it's own User Parameter of type File/URL named SourceDataset_GENERIC which you can use as user input.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • 571 replies
  • Best Answer
  • March 22, 2021

Use GenericReader.

It creates it's own User Parameter of type File/URL named SourceDataset_GENERIC which you can use as user input.