This is an old revision of the document!


PHP's gd library is missing or unable to create PNG images

Assign Map Categories

Description

This functor assigns a set of categories to a map. The functor also allows combination or replacement of the existing map categories with a given set of categories.

Inputs

Name Type Description
Input Map Categorical Map The map that receives the new categories.
Input Categories Categorization Categorization set (classes) to be assigned to the input map.

Optional Inputs

Name Type Description Default Value
Combine Categories Bool If true, the functor will combine the categories of the input map with the given category set. Otherwise, the categories in the input map will be replaced by the given category set. False

Output

Name Type Description
Output Map Map A copy of the input map with a new categorization.

Group

Notes

When “Combine Categories” is set, the functor combines the category sets, one from the input port and other from the input map. The main one is that passed as a parameter, thus, if both have an identical name or value, the category from the map will be replaced with the new one.

Internal Name

AssignMapCategories