Skip to main content

odc.geo

Documentation Status Test Status Test Coverage Conda Version

This library combines geometry shape classes from shapely with CRS from pyproj to provide projection aware Geometry. It exposes all the functionality provided by shapely modules, but will refuse operations between geometries defined in different projections. Geometries can be brought into a common projection with Geometry.to_crs method.

Based on that foundation a number of data types and utilities useful for working with geospatial metadata are implemented. Of particular importance is GeoBox. It is an abstraction for a geo-registered bounded pixel plane where a linear mapping from pixel coordinates to the real world is defined.

To make working with geo-registered raster data easier an integration with xarray is provided. Importing odc.geo.xr enables the .odc. accessor on every xarray.Dataset and xarray.DataArray. This exposes geospatial information of a raster loaded with Open Datacube or rioxarray. Methods for attaching geospatial information to xarray objects in a robust way are also provided. Geospatial information attached in this way survives most operations you might do on the data: basic mathematical operations, type conversions, cropping, serialization to most formats like zarr, netcdf, GeoTIFF.

For more details see Documentation.

Map with GeoBoxes

Origins

This repository contains geometry related code extracted from Open Datacube.

For details and motivation see ODC-EP-06 enhancement proposal.

Metadata

Release files for odc-geo 0.4.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 odc-geo 0.4.3
File Size Uploaded Provenance Actions
odc-geo-0.4.3.tar.gz 181.2 kB Without provenance Details for odc-geo-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odc-geo 0.4.3
File Interpreter ABI Platform Actions
odc_geo-0.4.3-py3-none-any.whl Python 3 none any Details for odc_geo-0.4.3-py3-none-any.whl

Total release size: 327.6 kB

Release files / odc-geo-0.4.3.tar.gz

Download URL odc-geo-0.4.3.tar.gz
Size 181.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d260636cf46c72e7b0fca226ccb6a31c66d5a9e1934f3b492a4ffd9cae73332e
BLAKE2b-256 checksum
How to use checksums
4e643d1dfef537fd4500c64fe0941aa55076a1722be1b13f64910cfd5fc07a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / odc_geo-0.4.3-py3-none-any.whl

Download URL odc_geo-0.4.3-py3-none-any.whl
Size 146.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a665daf1702fe2f407225e5ca4903b823a35cfdcc711992977e812f89cee8a8
BLAKE2b-256 checksum
How to use checksums
6eeddcca41dd01ab673cb33251c29c6022bdfc722e49f6dc69c6383aae4a78db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Security for odc-geo 0.4.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.4.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