This is an old revision of the document!
PHP's gd library is missing or unable to create PNG images
Load Categorical Map
Description
This functor loads a map from a file whose cell identifiers represent categories. The file name and its path must be specified. If the map found at this path does not have category identifiers, this functor will automatically determine its category identifiers.
Inputs
Name | Type | Description |
---|---|---|
Filename | Map Filename | Name of the file that contains the map to be loaded. Dinamica automatically determines the file format from a selected file extension. |
Optional Inputs
Name | Type | Description | Default Value |
---|---|---|---|
Null Value | Null Value | Additional value used to represent null cells. Cells with such value are also treated as null cells. This is particularly useful for assigning a null value to image files that do not have this definition. | None |
Load As Sparse | Bool | If true, the map is loaded as a sparse image. Sparse images have the advantage of storing only the cells containing non-null values, but they have worse access time. | False |
Suffix Digits | Non Negative Int | Number of digits used to represent the image file name suffix. | 0 |
Step | Non Negative Int | Current step or model iteration. Files with the same name and numbered suffixes will be loaded sequentially according to the model step. | None |
Workdir | Workdir | Workdir folder path. | None |
Outputs
Name | Type | Description |
---|---|---|
Map | Categorical Map | The map loaded by the functor. |
Group
Notes
See also Load Map for loading maps whose cells do not represent categories.
For a list of file formats that Load Categorical Map can load, the supported projections and datums, check the supported map formats.
Internal Name
LoadCategoricalMap