Comments (9)
@snowman2 the libtiff distributed with GDAL is just fine. Even makes sure that the projects are well synchronized.
from rasterio-wheels.
Hmmm, maybe related to #23?
from rasterio-wheels.
I should note that I would be willing to take a stab at it if this is desired.
from rasterio-wheels.
Looks like it is the same on Linux with the wheel.
Using conda-forge version of rasterio:
$ rio info left_fire_mask_lzma.tif
{"bounds": [-38.03055763850527, -17.7023992620617, -30.161809373564015, 0.6521191626776859], "colorinterp": ["gray"], "compress": "lzma", "count": 1, "crs": "EPSG:4326", "descriptions": ["0"], "driver": "GTiff", "dtype": "uint8", "height": 2076, "indexes": [1], "interleave": "band", "lnglat": [-34.09618350603464, -8.525140049692007], "mask_flags": [["nodata"]], "nodata": 241.0, "res": [0.008841290185327255, 0.008841290185327257], "shape": [2076, 890], "tiled": false, "transform": [0.008841290185327255, 0.0, -38.03055763850527, 0.0, -0.008841290185327257, 0.6521191626776859, 0.0, 0.0, 1.0], "units": [null], "width": 890}
With wheel (1.1.2):
$ rio info left_fire_mask_lzma.tif
WARNING:rasterio._env:CPLE_AppDefined in left_fire_mask_lzma.tif:LZMA compression support is not configured
Usage: rio info [OPTIONS] INPUT
Error: Invalid value for "INPUT": left_fire_mask_lzma.tif is not a valid input file
from rasterio-wheels.
With the wheel:
>>> rds = rasterio.open("left_fire_mask_lzma.tif")
Traceback (most recent call last):
File "rasterio/_base.pyx", line 216, in rasterio._base.DatasetBase.__init__
File "rasterio/_shim.pyx", line 67, in rasterio._shim.open_dataset
File "rasterio/_err.pyx", line 205, in rasterio._err.exc_wrap_pointer
rasterio._err.CPLE_AppDefinedError: Cannot open TIFF file due to missing codec.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
...
File "rasterio/_base.pyx", line 218, in rasterio._base.DatasetBase.__init__
rasterio.errors.RasterioIOError: Cannot open TIFF file due to missing codec.
from rasterio-wheels.
Looks like there is a config option for GDAL somewhere:
https://lists.osgeo.org/pipermail/gdal-dev/2014-October/040196.html
Probably only GDAL LZMA-enabled
> builds with internal libtiff (or with external libtiff 4.0.X built against
> liblzma) will be able to deal with that.
from rasterio-wheels.
Fantastic - glad to hear that it is kept up-to-date. In the digging I did, I found what I was looking for with the --with-liblzma
flag in #38. Thoughts on adding that?
from rasterio-wheels.
I'd rather not add it @snowman2. I don't know that it is commonly used. Drawing these kind of lines is so difficult because the GDAL project will not, but distributing and supporting a compiled package is different: there's a cost to every additional format driver or codec.
from rasterio-wheels.
Okay, thanks for getting back on that. I will close the PR.
from rasterio-wheels.
Related Issues (20)
- rasterio-1.3.5 macosx_10_15_x86_64 wheels failing on import. HOT 2
- Patch GDAL 3.5.3 to fix OSR bug HOT 1
- New wheels of rasterio no longer read AIG grids HOT 2
- Should we tests wheels with raster formats? HOT 6
- 1.3.6 binary wheels doesnt support GPKG, but 1.3.5 supports it HOT 3
- Patch 3.6.4 to fix multi-thread compression crasher HOT 3
- WebP vulnerability HOT 2
- Build and upload Python 3.12 wheels HOT 4
- Update curl to address CVEs HOT 1
- Patch GDAL 3.6.4 for TIFF compression bug HOT 1
- Can't read rasters with LERC compression HOT 2
- WebP-in-TIFF support
- Update HDF version
- Vulnerable shared libraries might make rasterio vulnerable. Can you help upgrade to patch versions? HOT 2
- Delocate error HOT 3
- 1.3.0.post1 to restore ZSTD in GeoTIFF HOT 1
- Get GDALFillNodata patch for rasterio 1.3.1 wheels
- Cannot read ZSTD compressed rasters with latest release on Windows HOT 5
- LERC unsupported with 1.3.0 HOT 5
- Upload wheels directly to pypi on release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rasterio-wheels.