Limiting Classes for Classification
Cadenza offers the following classification options: unique value classification and interval classification. By default, Cadenza calculates the classes and interval boundaries dynamically based on the current values of the loaded data. Alternatively, the user can define the classes and interval boundaries themselves in "Advanced layer settings" dialog. The maximum number of classes is limited and can be adjusted by configuration.
|
Increasing the maximum number of classes may lead to non‑optimal visual results. |
Adjusting the Configuration
To adjust the limit on the number of classes for unique value and interval classification, attributeValueClassification in the repositoryweb settings must be configured according to the following example:
-
XML
-
YAML
-
Environment Variables
repositoryweb-config.xml configuration file<repositoryWebConfiguration>
<restrictions>
<attributeValueClassification>
<valueClassesLimit>30</valueClassesLimit>
<intervalClassesLimit>12</intervalClassesLimit>
</attributeValueClassification>
</restrictions>
</repositoryWebConfiguration>
myConfig.yamlcadenzaconfig:
...
repositoryweb:
restrictions:
attributeValueClassification:
valueClassesLimit: 15
intervalClassesLimit: 15
...
cadenzaconfig_repositoryweb_restrictions_attributeValueClassification_valueClassesLimit=15
cadenzaconfig_repositoryweb_restrictions_attributeValueClassification_intervalClassesLimit=15