Skip to content

Latest commit

 

History

History
302 lines (239 loc) · 4.38 KB

api.rst

File metadata and controls

302 lines (239 loc) · 4.38 KB

API Reference

python

odc.geo.xr

Interfacing with :pyxarray.DataArray and :pyxarray.Dataset classes.

odc.geo.xr

ODCExtension ODCExtension.geobox ODCExtension.output_geobox ODCExtension.spatial_dims ODCExtension.crs ODCExtension.map_bounds ODCExtension.crop ODCExtension.mask ODCExtension.explore

ODCExtensionDa ODCExtensionDa.assign_crs ODCExtensionDa.reload ODCExtensionDa.write_cog ODCExtensionDa.to_cog ODCExtensionDa.reproject ODCExtensionDa.colorize ODCExtensionDa.add_to ODCExtensionDa.compress ODCExtensionDa.ydim ODCExtensionDa.xdim ODCExtensionDa.nodata

ODCExtensionDs ODCExtensionDs.to_rgba ODCExtensionDs.reload

assign_crs rasterize spatial_dims wrap_xr xr_coords xr_reproject xr_zeros colorize to_rgba add_to rio_reproject to_cog write_cog compress mask crop

odc.geo.cog

Cloud Optimized GeoTIFF construction

odc.geo.cog

save_cog_with_dask cog_gbox to_cog write_cog write_cog_layers

odc.geo.geobox

Methods for creating and manipulating geoboxes.

odc.geo.crs

Contains CRS class and related operations.

odc.geo.crs

CRS CRS.utm CRS.to_epsg CRS.to_wkt CRS.transformer_to_crs CRS.authority

CRS.units CRS.dimensions

CRSMismatchError

norm_crs norm_crs_or_error crs_units_per_degree

odc.geo.geom

Shapely geometry classes with CRS information attached.

odc.geo.geom

Geometry Geometry.to_crs Geometry.geojson Geometry.explore BoundingBox BoundingBox.explore BoundingBox.from_xy BoundingBox.from_points BoundingBox.from_transform BoundingBox.transform BoundingBox.buffered BoundingBox.boundary BoundingBox.qr2sample

box line point polygon multigeom multiline multipoint multipolygon polygon_from_transform

chop_along_antimeridian clip_lon180 common_crs densify intersects lonlat_bounds mid_longitude projected_lon sides

bbox_intersection bbox_union unary_intersection unary_union triangulate

odc.geo

Basic types used for unambigous specification of X/Y values.

odc.geo

XY XY.xy XY.yx XY.lonlat XY.latlon XY.x XY.y XY.lon XY.lat XY.wh XY.shape

Resolution Shape2d Index2d AnchorEnum

xy yx

res resxy resyx

wh shape

ixy iyx

odc.geo.roi

Various helper methods for working with 2d slices into arrays.

odc.geo.roi

polygon_path roi_boundary roi_center roi_from_points roi_intersect roi_is_empty roi_is_full roi_normalise roi_pad roi_shape scaled_down_roi scaled_down_shape scaled_up_roi

odc.geo.math

odc.geo.math

Bin1D Bin1D.bin Bin1D.from_sample_bin

Poly2d Poly2d.fit Poly2d.grid2d Poly2d.with_input_transform

affine_from_axis align_down align_up apply_affine clamp data_resolution_and_offset edge_index is_affine_st is_almost_int maybe_int maybe_zero norm_xy snap_scale snap_affine split_float split_translation

quasi_random_r2

odc.geo.gridspec

odc.geo.gridspec

GridSpec GridSpec.from_sample_tile GridSpec.web_tiles

GridSpec.alignment GridSpec.dimensions GridSpec.tile_shape

GridSpec.pt2idx GridSpec.tile_geobox GridSpec.__getitem__ GridSpec.tiles GridSpec.tiles_from_geopolygon

GridSpec.geojson

odc.geo.overlap

odc.geo.overlap

ReprojectInfo affine_from_pts compute_output_geobox compute_reproject_roi

odc.geo.converters

odc.geo.converters

from_geopandas extract_gcps_raw extract_gcps_raw map_crs rio_geobox