Skip to main content

GeoSpace

A lightweight Python library for geospatial processing based on GDAL.

GeoSpace provides practical tools for raster and vector processing, including zonal statistics, reprojection, resampling, mosaicking, clipping, rasterization, and optional Google Earth Engine workflows.

Installation

uv add geospace

GeoSpace uses gdal-wheel as its GDAL dependency, so GDAL does not need to be compiled as part of GeoSpace.

import geospace
from osgeo import gdal

Example

import geospace as gs

rasters = ["precipitation.tif", "temperature.tif"]
basins = "basins.shp"

stats = gs.reduce(rasters, basins)
print(stats)

Features

  • High-performance zonal statistics
  • Raster reprojection, resampling, mosaicking, clipping, and nodata filling
  • Raster and vector conversion
  • Shapefile projection, filtering, buffering, and rasterization
  • Coordinate and spatial calculations
  • Optional Google Earth Engine integration

Optional dependencies

Google Earth Engine support:

uv add "geospace[gee]"

Mask-related features:

uv add "geospace[mask]"

Development

git clone https://github.com/xiejx5/geospace.git
cd geospace
uv sync

GeoSpace is a pure-Python package. GDAL wheels are built and published separately by gdal-wheel.

Metadata

Release files for geospace 0.6.3

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

Source distribution (sdist)

Source distribution for geospace 0.6.3
File Size Uploaded Provenance Actions
geospace-0.6.3.tar.gz 27.4 kB Without provenance Details for geospace-0.6.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geospace 0.6.3
File Interpreter ABI Platform Actions
geospace-0.6.3-py3-none-any.whl Python 3 none any Details for geospace-0.6.3-py3-none-any.whl

Total release size: 62.5 kB

Release files / geospace-0.6.3.tar.gz

Download URL geospace-0.6.3.tar.gz
Size 27.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5468175269e8d1cda1069b72276627db0eb9c943928a1e12eeafb3bdb2398764
BLAKE2b-256 checksum
How to use checksums
24d650c4485c8d308ae1a184e80a73ff5426da1a6bce2a3ed2988ff8736fe567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / geospace-0.6.3-py3-none-any.whl

Download URL geospace-0.6.3-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8441d743f54635f799c8467254497d663d52e3a99021dacbe540ee9c4abf13f
BLAKE2b-256 checksum
How to use checksums
95da51c07286515e687f6f90cdc0858b2d5a378ee541080f31a69b168af16578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for geospace 0.6.3

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.6.3 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