-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
There was a problem hiding this 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.
src/commands/tileindex-validate/__test__/tileindex.validate.test.ts
Outdated
Show resolved
Hide resolved
Do you mean merging the package upgrade with a separate PR before having this PR? |
Co-authored-by: Blayne Chard <bchard@linz.govt.nz>
🤖 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>
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 BitsPerSampleAdded some test files.Checklist