--- id: rasterix version: "0.2.2" license: Apache-2.0 license_treatment: permissive maintenance: active --- # rasterix — Raster extensions for Xarray License: permissive · Maintenance: active · Downloads: 114.4K/mo ## What it is and what it does Rasterix is a Python library that extends Xarray with raster-specific operations commonly needed in geospatial analysis. It sits between raw raster data (typically GeoTIFFs) and higher-level geospatial packages, providing two core capabilities: a RasterIndex class that uses affine transforms to index raster data, and Dask-aware wrappers around rasterization and geometry masking functions from rasterio and exactextract. The package is designed as a building block for the geospatial Python ecosystem rather than a complete end-user tool. It depends on affine, numpy, pandas, xarray, and xproj, and is actively maintained with Beta-level stability. It targets modern Python versions (3.11–3.14) and carries no known security vulnerabilities. Use it for: - Index and query raster data stored in GeoTIFFs using their embedded affine transforms within Xarray pipelines. - Rasterize vector geometries or create geometry masks in a Dask-aware manner for distributed raster processing. - Build reusable geospatial data analysis components that integrate with the broader Xarray ecosystem. - Combine raster indexing with pandas and numpy operations on geospatial datasets. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Rasterix provides tools for analyzing raster data within Xarray workflows, including affine-transform-based indexing for GeoTIFFs and Dask-aware rasterization wrappers around standard rasterio operations. Yes, if you work with raster data in Xarray and need affine-transform-based indexing or Dask-compatible rasterization. Low install friction, active maintenance, permissive license, and no known vulnerabilities support adoption. Beta status means the API may change; confirm the rasterization features you need are stable for your workflow. ## Install pip install rasterix uv add rasterix poetry add rasterix ## Installing rasterix Before you install: Low install friction with a pure-Python wheel. Active maintenance status with a release within the last 72 days. Requires Python 3.11 or later. License in practice: Apache-2.0 permissive license allows broad use, modification, and distribution with minimal restrictions. Quickstart: pip install rasterix import rasterix import xarray as xr # Use RasterIndex for affine-transform-based indexing index = rasterix.RasterIndex(geotiff_path) Requires Python 3.11 or later; geospatial data files (e.g., GeoTIFFs) needed for typical use. Verify before relying: - Whether the package's rasterization wrappers are production-ready or still experimental given Beta status - Performance characteristics when working with large raster datasets or high-resolution imagery - Compatibility with specific versions of rasterio, exactextract, or other geospatial libraries beyond the listed runtime dependencies ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 114.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags xarray raster analysis, geotiff indexing affine transform, rasterization with dask, raster data xarray, geospatial raster tools, geospatial, raster-data, dask-aware [View on SkillFed](https://skillfed.io/packages/rasterix) · [View on PyPI](https://pypi.org/project/rasterix/)