Select to view content in your preferred language

Error loading images over STAC connection in ArcGIS Pro

1261
2
Jump to solution
01-15-2024 03:28 PM
Labels (2)
tempLeidyGarcía
Emerging Contributor

Hello community, I have been testing the STAC connection for ArcGIS Pro, showing that results from various sources such as Sentinel, Landsat, among others, are not added to the map. Every time I try to add them I get an "Unknown Error" as shown in the screenshot.

Please could you guide me.

Tags (2)
1 Solution

Accepted Solutions
xingchenc
Frequent Contributor

@tempLeidyGarcía 

Hi Leidy, I believe I have encountered similar problem, please see my post for the solution(Solved: Re: Microsoft Planetary Computer STAC - unable to ... - Esri Community).

The key is to create a clould storage connection file and use it when creating STAC connection. You can download directly from here(arcgis-for-mpc/AMPC_Resources/ACS_Files at main · Esri/arcgis-for-mpc · GitHub) or you can follow the steps in the post to create one for yourself.

Hope this helps.

View solution in original post

2 Replies
xingchenc
Frequent Contributor

@tempLeidyGarcía 

Hi Leidy, I believe I have encountered similar problem, please see my post for the solution(Solved: Re: Microsoft Planetary Computer STAC - unable to ... - Esri Community).

The key is to create a clould storage connection file and use it when creating STAC connection. You can download directly from here(arcgis-for-mpc/AMPC_Resources/ACS_Files at main · Esri/arcgis-for-mpc · GitHub) or you can follow the steps in the post to create one for yourself.

Hope this helps.

Youssef-Harby
Emerging Contributor

Hi @tempLeidyGarcía and @xingchenc, I made a small tool that might be helpful here

It’s a Go-based proxy that handles the SAS token logic and CORS issues when using Microsoft Planetary Computer STAC with ArcGIS Pro. You just point ArcGIS to

http://localhost:8080/api/stac/v1/

and skip the manual ACS setup.

I put together a short tutorial (under 3 mins): https://youtu.be/CeIfDvK1F2U
Code repo: https://github.com/Youssef-Harby/ms-stac-proxy

Let me know if you try it out!

https://www.linkedin.com/in/youssef-harby/
Tags (1)
0 Kudos