revrt.utilities.handlers#

Handler for file containing GeoTIFF layers

Module attributes

ZARR_COMPRESSORS

[NOT PUBLIC API] Compressors to use when writing to Zarr file

Functions

chunked_read_gpkg(data_fp, chunk_size)

Read GeoPackage file in chunks

gpkg_crs(data_fp)

Get CRS of GeoPackage file

num_feats_in_gpkg(filename)

Lightweight func to get number of features in GeoPackage file

serialize_layer_build_dict(build_dict)

Serialize layer config for storing in file attrs

Classes

IncrementalWriter(out_fp)

Stream results to disk by appending result in chunks to a file

LayeredFile(fp)

Handler for file containing GeoTIFF layers