Skip to main content

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 file
  • tacotiff.metadata_from_tiff(filename) - Extract metadata from TIFF
  • tacotiff.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.4.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tacotiff-0.0.4-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

Details for the file tacotiff-0.0.4.tar.gz.

File metadata

  • Download URL: tacotiff-0.0.4.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for tacotiff-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d78991fc7b359f27b054b5693e1376feff3a22e77e59eafb7a9c577a7ffc5547
MD5 314222ca2a114461ee7a48e806153303
BLAKE2b-256 a80972a364597ce238fff14348257befd15f96415695549bcb99177385ada3bb

See more details on using hashes here.

File details

Details for the file tacotiff-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tacotiff-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 44.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for tacotiff-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9c600e5b90cd87b3f339d934f91f5038e88795624098fa96258bc242cbf69ea
MD5 36d73fe6c9922f8dd7651d22c950b34a
BLAKE2b-256 5d003ff60dba55f50929b9294648f5551a65182f38e366c70ff52facedf6470f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page