GeoASC

GeoASC

Handles ASC files. Part of Geospatiale III.

Source:

Methods

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

Converts an .asc file to .png.

Source:
Parameters:
Name Type Attributes Description
arg0_input_file_path string
arg1_output_file_path string
arg2_options Object <optional>
Name Type Attributes Default Description
mode string <optional>
"number"

Either 'number'/'percentage'.

ceil boolean <optional>
true

Whether to ceiling ASC integers.

special_function function <optional>

Any function to pass to the iterative loop when processing. Must return a number.

Returns:
Type:
Object

(static) readFile(arg0_file_path) → {Array.<Array.<any>>}

Reads an ASC file into a 2D Array/dataframe.

Source:
Parameters:
Name Type Description
arg0_file_path string
Returns:
Type:
Array.<Array.<any>>