GeoTIFF

GeoTIFF

Handles TIFF files. Part of Geospatiale III.

Source:

Methods

(static) convertToPNG(arg0_input_file_path, arg1_output_file_path) → {Object}

Attempts to convert a given GeoTIFF file to PNG, assuming that it is single-band

Source:
Parameters:
Name Type Description
arg0_input_file_path String
arg1_output_file_path String
Returns:
Type:
Object

(static) convertToPNGs(arg0_input_file_path, arg1_output_base_path, arg2_optionsopt) → {Array.<Object>}

Unpacks a multi-band GeoTIFF file to multiple PNG files, one for each year/band.

Source:
Parameters:
Name Type Attributes Description
arg0_input_file_path String
arg1_output_base_path String

The prefix for the output (e.g., 'map_data_').

arg2_options Object <optional>
Name Type Attributes Default Description
scalar number <optional>
1

The scalar to multiply or divide by.

years Array.<string> <optional>

The list of years to use for output file names.

Returns:
Type:
Array.<Object>