You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same error also occurs when calling cog_info() on a JPEG YCbCr GeoTIFF.
As far as I can tell, this is (at least) due to rasterio/rasterio#3259 in which a change is made where the compression attribute of a dataset is not necessarily an enum anymore, it can also be a string.
I’ve also noticed that, with rasterio 1.4.2, the compression value of a YCbCr JPEG compressed GeoTIFF is jpeg, whereas in rasterio 1.4.3 it is YCbCr JPEG.
I haven’t had time yet to implement a proper fix in rio-cogeo that is compatible both with rasterio 1.4.3 and with the previous versions, so I’m posting the issue here in case someone else wants to pick it up.
The text was updated successfully, but these errors were encountered:
Hi,
I’ve noticed that some errors occur when installing
rio-cogeo
withrasterio 1.4.3
(released 3 days ago). The errors do not happen withrasterio 1.4.2
.Tests fail with the following errors:
The same error also occurs when calling
cog_info()
on a JPEG YCbCr GeoTIFF.As far as I can tell, this is (at least) due to rasterio/rasterio#3259 in which a change is made where the
compression
attribute of a dataset is not necessarily an enum anymore, it can also be a string.I’ve also noticed that, with
rasterio 1.4.2
, thecompression
value of a YCbCr JPEG compressed GeoTIFF isjpeg
, whereas inrasterio 1.4.3
it isYCbCr JPEG
.I haven’t had time yet to implement a proper fix in
rio-cogeo
that is compatible both withrasterio 1.4.3
and with the previous versions, so I’m posting the issue here in case someone else wants to pick it up.The text was updated successfully, but these errors were encountered: