AI-Optimized GeoTIFF reading with JSON metadata bypass
Project description
TACOTIFF Python Package
Python bindings for the TACOTIFF high-performance GeoTIFF driver.
Installation
pip install tacotiff
Prerequisites
- GDAL Python bindings (
pip install gdal) - TACOTIFF GDAL driver installed in system
Usage
import tacotiff
# Open TACOTIFF with JSON metadata
metadata = {
"ImageWidth": 1024,
"ImageLength": 1024,
"TileWidth": 256,
"TileLength": 256,
# ... complete metadata
}
ds = tacotiff.open("data.tif", metadata_json=metadata, num_threads=4)
array = ds.ReadAsArray()
API Reference
tacotiff.open(filename, metadata_json, num_threads=1)- Open TACOTIFF filetacotiff.metadata_from_tiff(filename)- Extract metadata from TIFFtacotiff.validate_metadata(metadata)- Validate metadata schema
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tacotiff-0.0.1.tar.gz
(46.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tacotiff-0.0.1-py3-none-any.whl
(46.1 kB
view details)
File details
Details for the file tacotiff-0.0.1.tar.gz.
File metadata
- Download URL: tacotiff-0.0.1.tar.gz
- Upload date:
- Size: 46.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeffbe092a159ad571bf72af950e1bd0b420de238506dd76a717b39890f38ff7
|
|
| MD5 |
8ca18488a855fa5721e5e1e7d032908e
|
|
| BLAKE2b-256 |
1537c773c74b2e9f6a7e9bb09d908dea7af4143cff9efdfe8905f1111a56cf64
|
File details
Details for the file tacotiff-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tacotiff-0.0.1-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe7abf8d44f99587f8051fd2eccca97826db464b90baea09f504ffd6a3d3a9c
|
|
| MD5 |
c9c029f6d6687f7a961d6d398313addb
|
|
| BLAKE2b-256 |
b526d63be01b986185e2a763b94facb6f44154a275cbb7292c2887f87b5405e3
|