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

Specify empty_dir=yes when constructing vsicurl parameters #1760

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

manthey
Copy link
Member

@manthey manthey commented Jan 7, 2025

When automatically constructing a vsicurl url to allow gdal to read from https or s3 sources, set empty_dir=yes to avoid probing for sidecar files. Prior to GDAL PR 11469, this seem to be the case with just list_dir=no, but it isn't clear from the GDAL documentation why that works. Be explicit (open a viscurl path directly to change the behavior).

When automatically constructing a vsicurl url to allow gdal to read from
https or s3 sources, set empty_dir=yes to avoid probing for sidecar
files.  Prior to GDAL PR 11469, this seem to be the case with just
list_dir=no, but it isn't clear from the GDAL documentation why that
works.  Be explicit (open a viscurl path directly to change the
behavior).
@manthey manthey force-pushed the gdal-vsi-defaults branch from c8e5fbf to 45f6d2c Compare January 7, 2025 19:01
@manthey manthey merged commit 6059360 into master Jan 7, 2025
18 checks passed
@manthey manthey deleted the gdal-vsi-defaults branch January 7, 2025 19:34
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

Successfully merging this pull request may close these issues.

1 participant