Skip to content

Cannot read BigTIFF with GeoTIFF reader #655

@Oisin-M

Description

@Oisin-M

What happened?

The GeoTIFF reader cannot read BigTiFF files due to a difference in the first four bytes

What are the steps to reproduce the bug?

An example in the wild is
ekd.from_source("url", "https://data.hydrosheds.org/file/hydrosheds-v1-dir/hyd_glo_dir_15s.zip")

Version

v0.13.0 onward

Platform (OS and architecture)

Relevant log output

Unknown file type, no reader available. path=/tmpi2h984s0/url-9b6c21ca03255f449720f4aff543834be438f448c1e7398428b1a368e82c98ee.d/hyd_glo_dir_15s.tif magic=b'II+\x00\x08\x00\x00\x00\xd4"5\x12\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x01\x04\x00\x01\x00\x00\x00\x00\x00\x00\x00\x80Q\x01\x00\x00\x00\x00\x00\x01\x01\x03\x00\x01\x00\x00\x00\x00\x00\x00\x00@\x83\x00\x00\x00\x00\x00\x00' content_type=None

Accompanying data

No response

Organisation

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions