Skip to content

Commit

Permalink
i.eodag: Support AOIs from other mapsets (#1225)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsbl authored Oct 16, 2024
1 parent 261b8fa commit 147ebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imagery/i.eodag/i.eodag.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def get_aoi(vector=None):
if "+proj" not in proj:
gs.fatal(_("Unable to get AOI: unprojected location not supported"))

if vector not in gs.parse_command("g.list", type="vector"):
if not gs.find_file(vector, element="vector")["file"]:
gs.fatal(
_("Unable to get AOI: vector map <{}> could not be found".format(vector))
)
Expand Down

0 comments on commit 147ebe7

Please sign in to comment.