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

fix: suppress aux xml file creation #121

Merged
merged 2 commits into from
Aug 30, 2022
Merged

Conversation

amfage
Copy link
Contributor

@amfage amfage commented Aug 30, 2022

No description provided.

@amfage amfage requested a review from a team as a code owner August 30, 2022 04:28
@@ -94,7 +94,7 @@ def check_color_interpretation(self, gdalinfo: Dict[str, Any]) -> None:

def run(self) -> None:
gdalinfo_success = True
gdalinfo_command = ["gdalinfo", "-stats", "-json"]
gdalinfo_command = ["gdalinfo", "-stats", "-json", "--config", "GDAL_PAM_ENABLED", "NO"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a comment as to what a PAM is? and what this is trying to achieve?

Does this also need to happen to the gdal_translate ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added a comment. The auxiliary file is not created when gdal_translate is run.

@kodiakhq kodiakhq bot merged commit c674366 into master Aug 30, 2022
@kodiakhq kodiakhq bot deleted the fix/disable-aux-file-lzw branch August 30, 2022 20:46
@github-actions github-actions bot mentioned this pull request Aug 30, 2022
MDavidson17 added a commit that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants