Module Streamlines__.Geodata.Geotiff

exception Geotiff of string

Geotiff of string exception

Raised if the Geotiff file is not supported, with a reason string

val read_header : string ‑> t_geotiff

read_header filename

Reads a Geotiff file header and prepares for reading data from bands

val show_data_band_type : t_geotiff ‑> int ‑> unit

show_data_band_type geo n

Print the data band type for debug

val read_data_band : t_geotiff ‑> t_geodata ‑> int ‑> unit

read_data_band geo data n

Read the data band n for DTM data

val map_data_band : t_geotiff ‑> int ‑> ('a'b) Gdal.Band.Data.t ‑> (int ‑> int ‑> 'a ‑> unit) ‑> unit

map_data_band geo n band_type f

Read the data band n for masked data (Uint16)

val str : ?⁠indent:string ‑> t_geotiff ‑> string

str ?indent t

Return a string of the Geotiff structure using the specified indent

val check_supported : t_geotiff ‑> unit

check_supported t

Checks that the Geotiff file is supported by the code