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 TIFFTagsReader to skip unsupported tags #3088

Merged
merged 1 commit into from Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/CHANGELOG.rst
Expand Up @@ -132,6 +132,7 @@ Fixes & Updates
- Update dependencies (`#3053 <https://github.com/locationtech/geotrellis/pull/3053>`_).
- Fix HttpRangeReader swallows 404 error (`#3073 https://github.com/locationtech/geotrellis/pull/3073`_)
- Add a ToSpatial function for the collections API (`#3082 https://github.com/locationtech/geotrellis/pull/3082`_)
- Fix TIFFTagsReader to skip unsupported tags (`#3088 https://github.com/locationtech/geotrellis/pull/3088`_)

2.3.0
-----
Expand Down
Expand Up @@ -159,6 +159,7 @@ object TiffTagsReader extends LazyLogging {
byteReader.readLongsTag(tiffTags, tagMetadata)
case (_, IFDOffset) =>
byteReader.readLongsTag(tiffTags, tagMetadata)
case _ => TiffTags() // skip unsupported tags
}

implicit class ByteReaderTagReaderWrapper(val byteReader: ByteReader) extends AnyVal {
Expand Down