Skip to main content

Raster Zonal Stats

'Raster Zonal Stats' is a Python library designed to retrieve raster values for each pixel of a shapefile.

Installation

Install using below pip command

pip install raster-zonal-stats

Usage

from raster_zonal_stats import RasterZonalStats

RasterZonalStats('/path/to/shapefile.shp', '/path/to/raster.tif', aggr='mean')

Parameters

shp_path (str): Path to the shapefile.

tiff_path (str): Path to the TIFF file.

aggr (str, optional): Aggregation method for zonal statistics. Defaults to 'mean'.

Metadata

Release files for raster-zonal-stats 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raster-zonal-stats 0.1.2
File Size Uploaded Provenance Actions
raster_zonal_stats-0.1.2.tar.gz 2.8 kB Without provenance Details for raster_zonal_stats-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for raster-zonal-stats 0.1.2
File Interpreter ABI Platform Actions
raster_zonal_stats-0.1.2-py3-none-any.whl Python 3 none any Details for raster_zonal_stats-0.1.2-py3-none-any.whl

Total release size: 6.0 kB

Release files / raster_zonal_stats-0.1.2.tar.gz

Download URL raster_zonal_stats-0.1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8419ac274b131e11c8143e8d7d9d061032296f3343c4308ad8da03803f7b6cb1
BLAKE2b-256 checksum
How to use checksums
ba3423ca98e5128b369d94fe29a738343d246ce6710ddcdba2548fe245f17489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / raster_zonal_stats-0.1.2-py3-none-any.whl

Download URL raster_zonal_stats-0.1.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35c7d721cbbb9a2fa7bfb759c83b09ffb68fd1c2946245ddfa6b22fd46969447
BLAKE2b-256 checksum
How to use checksums
cd871dd092f9ae5dc815531a080a1512b3947b24dc847543c6eabb6c8d62c351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for raster-zonal-stats 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page