Skip to contents

Warping

Stream, mosaic and reproject/resample remote (Cloud-Optimised) GeoTIFFs onto a target grid, following the gdalwarp argument interface.

ck_warp()
Warp a remote GeoTIFF / COG with cptkirk's defaults (recommended)
warp_remote()
Warp a remote GeoTIFF / COG (a streaming sibling of gdalraster::warp)
ck_read()
Warp a remote GeoTIFF / COG straight into an R array
ck_warp_to_buffer()
Warp a remote GeoTIFF / COG into a raw native-dtype pixel buffer

Stacking & batch

Drive many sources through one saturating pool: stack sources as separate bands of one output, or reproject/resample a whole list of groups (e.g. a STAC item list, one group per acquisition) in a single streaming fetch.

ck_stack()
Stack many sources into one band-separated raster (buildvrt -separate)
ck_stack_read()
Stack many sources straight into an R array
ck_batch()
Fetch many grouped sources through one pool, with structure-preserving output
ck_batch_to_buffer()
Fetch many grouped sources through one pool, into raw pixel buffers

Inspection

Read a source’s structure and georeferencing, or open it once and reuse the handle across calls.

cog_info()
Inspect a (remote) GeoTIFF / COG
as.data.frame(<cog_info>) as.data.frame(<cog_info_list>)
Tidy one-row-per-source summary of cog_info metadata
cog_source()
Open a (remote) GeoTIFF / COG once and reuse it