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

feat: detects and error if the tiff is not 8 bits TDE-895 #890

Merged
merged 8 commits into from
Mar 27, 2024

Conversation

paulfouquet
Copy link
Collaborator

@paulfouquet paulfouquet commented Feb 26, 2024

Motivation

The standardising workflow is only processing 8 bits TIFFs at the moment.

Modification

In order to exclude any other TIFF than 8 bits ones, tileindex-validate throw an error if one TIFF is not 8 bits.
TODO: unit test - need to mock the TIFF tag BitsPerSample Added some test files.

Checklist

  • Tests updated
  • Docs updated
  • Issue linked in Title

@paulfouquet paulfouquet marked this pull request as ready for review March 25, 2024 02:05
@paulfouquet paulfouquet requested review from a team as code owners March 25, 2024 02:05
Copy link
Contributor

@l0b0 l0b0 left a comment

Choose a reason for hiding this comment

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

Would you be OK to split the package upgrade to a separate PR? It clutters up the diff.

@paulfouquet
Copy link
Collaborator Author

Would you be OK to split the package upgrade to a separate PR? It clutters up the diff.

Do you mean merging the package upgrade with a separate PR before having this PR?
That is an option but having the reason behind the upgrade in the same PR is somewhat useful, and I don't feel the refactor is that big?

@paulfouquet paulfouquet requested a review from l0b0 March 25, 2024 03:34
l0b0
l0b0 previously approved these changes Mar 25, 2024
l0b0
l0b0 previously approved these changes Mar 25, 2024
Co-authored-by: Blayne Chard <bchard@linz.govt.nz>
@paulfouquet paulfouquet requested review from l0b0 and blacha March 27, 2024 01:11
@paulfouquet paulfouquet added this pull request to the merge queue Mar 27, 2024
Merged via the queue into master with commit 9e639b7 Mar 27, 2024
2 checks passed
@paulfouquet paulfouquet deleted the feat/detect-non-8-bits-tiffs-tde-895 branch March 27, 2024 03:13
github-merge-queue bot pushed a commit that referenced this pull request Apr 7, 2024
🤖 I have created a release *beep* *boop*
---


## [3.4.0](v3.3.2...v3.4.0)
(2024-04-03)


### Features

* **basemaps:** Update the create-pr cli to add new individual vector
tileset. BM-992 ([#933](#933))
([9234ffb](9234ffb))
* detects and error if the tiff is not 8 bits TDE-895
([#890](#890))
([9e639b7](9e639b7))
* force fully qualified domains for s3 requests TDE-1084
([#940](#940))
([3fdbf98](3fdbf98))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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