urbanlc.utils#

Functions

export_geotiff(img, save_path, output_meta)

Export a NumPy array as a GeoTIFF file.

open_at_scale(path, downsample_scale)

Open a .tif file and downsample it by a constant factor.

open_at_size(path, ref)

Open a .tif file and downsample it to match the size of another .tif file.