Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define S3 vsicurl for raster proxies #148

Open
mapface opened this issue Dec 13, 2022 · 2 comments
Open

Define S3 vsicurl for raster proxies #148

mapface opened this issue Dec 13, 2022 · 2 comments

Comments

@mapface
Copy link

mapface commented Dec 13, 2022

Is there a way to manually define the s3 vsicurl?

Currently my raster proxies are created with the following vsicurl:

http://bucket-name.s3.ap-southeast-2.amazonaws.com/...

However these will not view in ArcPro, unless I manually change the vsicurl to the following, then they display perfectly fine:

http://s3.ap-southeast-2.amazonaws.com/bucket-name/...

My OR command is as follows:

python.exe C:\Image_Mgmt_Workflows\OptimizeRasters\OptimizeRasters.py -config=C:\Image_Mgmt_Workflows\OptimizeRasters\Templates\Overviews_to_MRF_LERC_pr.xml -input="C:\..." -clouddownload=false -tempinput=C:\... -tempoutput=C:\... -cloudupload=true -clouduploadtype=amazon -outputprofile=profile_name -outputbucket=bucket_name -output=path -cache=C:\i... -rasterproxypath=C:\...

@Chamlika
Copy link
Contributor

@mapface
Can you add the following line in bold manually into your credentials file for the output profiles name (profile_name) as referenced in your OR command and see if that resolves the issue. For more info on the earlier update related to addressing issue, please refer to 25c3ae7

addressing_style = path

@mapface
Copy link
Author

mapface commented Dec 19, 2022

Hi @Chamlika I added the line into my credentials files as you described to no effect, I also tried adding the aws_endpoint_url= variable into my credentials file as well ( like the link above) but also didn't work. I was still getting the same url format.

I was about to get around the issue with changing the files by editing some proxy settings on my PC but it would still be good to have a way to designate how the url is constructed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants