Registry / data / large-image-source-rasterio

large-image-source-rasterio

JSON →
library1.34.1pypypi✓ verified 84d ago

A rasterio tilesource for large_image, enabling geospatial raster tile serving via GDAL/rasterio. Current version 1.34.1, part of the large_image ecosystem with frequent releases.

pip install large-image-source-rasterio
INSTALL
IMPORT
SIG · LARGE-IMAGE-SOURCE
L
large-image-source-rasterio
datapythonv1.34.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RasterioFileTileSource
from large_image_source_rasterio import RasterioFileTileSource
from large_image.tilesource.rasterio import ...
Incorrect path; the correct module is large_image_source_rasterio.

Basic example to open a rasterio source and get a tile.

from large_image_source_rasterio import RasterioFileTileSource from large_image import getTileSource # Open a GeoTIFF file source = getTileSource('path/to/geotiff.tif') # Access metadata print(source.getMetadata()) # Request a tile (x, y, z) tile = source.getTile(0, 0, 0) print(tile.shape)
Debug
Known issues
breakingPython 3.10 or later is required; Python 3.9 and earlier are unsupported.
fix
Upgrade Python to 3.10+.
affects: >=1.30
gotchaThe module name uses underscores: large_image_source_rasterio, not hyphens.
fix
Use `import large_image_source_rasterio` with underscores.
affects: all
deprecatedDirect instantiation of RasterioFileTileSource is discouraged; use large_image.getTileSource() for auto-detection.
fix
Replace `RasterioFileTileSource(path)` with `getTileSource(path)`.
affects: all
gotchaGDAL and necessary drivers must be installed separately for rasterio to work.
fix
Install GDAL system package (e.g., `apt install libgdal-dev`) or use conda.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'large_image_source_rasterio'
Missing installation or incorrect import name.
fix
Run `pip install large-image-source-rasterio` and import as `large_image_source_rasterio`.
large_image_source_rasterio.RasterioFileTileSource not found
The class name changed in v1.30 or later.
fix
Use `from large_image_source_rasterio import RasterioFileTileSource` and call via `getTileSource()`.
RuntimeError: Tile not available at this level
Requested zoom level exceeds source's cache or GDAL constraints.
fix
Ensure tile level is within the source's min/max zoom: `source.getMetadata()['levels']`.
Upgrade
Version history
1.34.1latest on PyPI · released Mar 24, 2026
Audit
Dependencies
large-imagerequiredCore library providing the tile source framework.
rasteriorequiredRequired for geospatial raster reading via GDAL.
Agent activity
31 hits · last 30 days
node
28
OpenAI (training)
1
Resources
large-image-source-rasterio — pip install large-image-source-rasterio · libregistry