Skip to content

Commit

Permalink
Fix TIFFTagsReader to skip unsupported tags
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed Sep 25, 2019
1 parent c5094d0 commit dda7263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit dda7263

Please sign in to comment.