SimCenter Forum

Artificial Intelligence in Natural Hazards Engineering => AI use in Regional Simulation (BRAILS) => Topic started by: jsaw on March 30, 2021, 10:45:12 PM

Title: UnidentifiedImageError
Post by: jsaw on March 30, 2021, 10:45:12 PM
I'm currently experiencing an UnindentifiedImageError when running example 2. I'm quite sure that my GoogleMapsApiKey is correct (Maps Embed API has been enabled). Do you have any suggestions for what else could be causing this error? It would be helpful to know if there are a few things I can double-check to make sure I'm doing this correctly. Thank you!
Title: Re: UnidentifiedImageError
Post by: charles on March 30, 2021, 11:01:20 PM
You need to enable three APIs:

Street View Static API
Maps Static API
Geocoding API

If you still have that error, could you also share the detailed error message?

Title: Re: UnidentifiedImageError
Post by: jsaw on March 31, 2021, 01:34:47 AM
Thank you! Example 2 finally works, but I'm now getting the error with Example 3. Do you think there's still an issue with my maps api?
Title: Re: UnidentifiedImageError
Post by: charles on March 31, 2021, 08:41:00 PM
The might be caused by an empty image, which was saved in your previous run without a working API.
Try re-run with reDownloadImgs=True