odc-geo
Geometry Classes and Operations (opendatacube)
Decision gist · record as of 2026-08-14
Yes. Active maintenance, no known vulnerabilities, low install friction, and a permissive license make it safe to adopt. Install if you work with geo-registered raster data, need CRS-aware geometry operations, or want to attach robust geospatial metadata to xarray objects. The library is mature and widely used in geospatial data science.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with six well-established dependencies (affine, cachetools, numpy, pyproj, shapely, xarray).
- Active maintenance with a release 29 days ago and recent commits.
License · maintenance · safety
permissive license (permissive) — Permissive license allows commercial and private use without restriction.
last release 2026-07-16 (29 days) · last repo commit 2026-08-05 · 114 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 168,746 downloads/mo, #10,437 on PyPI
Alternatives
Verify before relying
pip install odc-geo
from odc.geo.geom import Geometry
from pyproj import CRS
geom = Geometry(shape, crs=CRS.from_epsg(code))
geom_reprojected = geom.to_crs(CRS.from_epsg(target_code))- Whether GeoBox's linear mapping supports all common geospatial coordinate systems or has known limitations.
- Performance characteristics when working with large raster datasets or many geometries.
- Specific EPSG codes or coordinate systems supported by the GeoBox implementation.
What it is and what it does
odc-geo is a geospatial library that wraps shapely geometries with CRS awareness from pyproj, preventing accidental operations between geometries in different projections. It provides GeoBox, an abstraction for geo-registered pixel planes with linear world-coordinate mappings, and integrates with xarray to attach and preserve geospatial metadata through data transformations.
The library was extracted from Open Datacube to serve projects working with geo-registered raster data, satellite imagery, and other geospatial datasets. It enables robust handling of projection information alongside geometry operations, making it easier to work with multi-CRS workflows and to attach geospatial context to xarray Datasets and DataArrays in ways that survive serialization and common data operations.
Use it for
- Prevent projection mismatches by refusing geometry operations across different CRS and providing explicit reprojection.
- Define and work with geo-registered pixel grids (GeoBox) for satellite or raster imagery analysis.
- Attach and preserve geospatial metadata on xarray objects through mathematical operations and format conversions.
- Build geospatial data pipelines where projection consistency is enforced at the library level.
- Work with geospatial information in ways that survive serialization to zarr, netcdf, and GeoTIFF formats.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, no known vulnerabilities, low install friction, and a permissive license make it safe to adopt. Install if you work with geo-registered raster data, need CRS-aware geometry operations, or want to attach robust geospatial metadata to xarray objects. The library is mature and widely used in geospatial data science.
Install
odc-geo on PyPI
Before you install
Low friction: pure Python wheel with six well-established dependencies (affine, cachetools, numpy, pyproj, shapely, xarray). Active maintenance with a release 29 days ago and recent commits.
Requires Python 3.10 or later.
License in practice
Permissive license allows commercial and private use without restriction.
Quickstart
pip install odc-geo
from odc.geo.geom import Geometry
from pyproj import CRS
geom = Geometry(shape, crs=CRS.from_epsg(code))
geom_reprojected = geom.to_crs(CRS.from_epsg(target_code))
Verify before relying
- Whether GeoBox's linear mapping supports all common geospatial coordinate systems or has known limitations.
- Performance characteristics when working with large raster datasets or many geometries.
- Specific EPSG codes or coordinate systems supported by the GeoBox implementation.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesaffinecachetoolsnumpypyprojshapelyxarray |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 168,746 / month, #10,437 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: GISTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: odc_geo-0.5.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “projection-aware geometry”
- odc-geoProvides projection-aware geometry classes combining shapely shapes…
- s2spheres2sphere provides Python bindings to work with S2 geometry—a…
- shapelyShapely provides Python tools for creating, manipulating, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also reproj · xproj · odc-loader · pyproj · geopandas · shapely · odc-stac · pygeos · fudgeo · shapely-polyskel