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.
Origins
This repository contains geometry related code extracted from Open Datacube.
For details and motivation see ODC-EP-06 enhancement proposal.
Release files for odc-geo 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odc-geo-0.3.0.tar.gz | 105.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odc_geo-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 219.6 kB
Release files / odc-geo-0.3.0.tar.gz
| Download URL | odc-geo-0.3.0.tar.gz |
|---|---|
| Size | 105.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ea6d605feda1933e8868cf29c540dd2a35edea440baf8fe4b24396ca141e181
|
|
BLAKE2b-256 checksum How to use checksums |
dcf822c9f90dc4d92918f4a0a7155a7173452189b44a80cbc225c643a4348922
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / odc_geo-0.3.0-py3-none-any.whl
| Download URL | odc_geo-0.3.0-py3-none-any.whl |
|---|---|
| Size | 114.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4aed7c848a0a6fd1cf946e863d214178681c3a257c8afbe1bf3f3614c22a607
|
|
BLAKE2b-256 checksum How to use checksums |
09581ee07c99c42c3cb36503bcc794ec7177cc1a1012e24de74c43ceea39d9ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|