OptimizeRasters
OptimizeRasters copied to clipboard
Google Cloud Storage bucket cleared out in GP Tool
When trying to run the OptimizeRasters tool from the .pyt, there appears to be an issue with the Tool Validation logic.
I have a credential file with GetObject privileges to the bucket, when I specify the bucket name, then click to another parameter, it does some processing (some ToolValidation I assume) and then immediately clears out the value.
I am guessing this may be because it tries to do a ListBuckets query or something similar to that, to populate a dropdown?
I think this comes down to the validateCredentials method, which has exception handling for AWS and Azure when ListBuckets is not allowed, but not for Google:
@slibby Can you check if running it at the console works for you, and you're right, it looks like a UI issue. Will see to rectify, thanks!