Create / Edit feature thematic map
This dialog allows you to create and edit unique value thematic maps for map objects (points, lines, polygons). Objects on the map are colored and styled based on the unique value of a selected attribute or the result of an SQL expression.
Thematic map name
Define a custom name that will be displayed in the thematic maps dropdown list and legend.
Get values from (Value / Expression)
Determines the data source from which unique values will be generated:
- Value: Allows simple selection of an existing column from the table via the dropdown list.
- Expression: Allows entering an advanced SQL expression to calculate or concatenate values. By clicking the Verify button, you can validate the syntax and check the number of unique values. Helpful buttons for inserting columns, functions, and operators are available.
Thematic map categories
- Generate: Automatically finds all unique values in the database and assigns them a style. During the process, you can choose the style generation mode (Vary colors or Vary patterns). Warning: this overwrites existing categories.
- Refresh: Compares the current categories with the state in the database. It offers the option to add missing values or remove those that no longer exist, while preserving manual settings for existing categories.
- Sort: Allows sorting the category list by value or by label (ascending or descending). The "All others" category always remains at the bottom.
Category list
Each row represents one unique value. Use the checkbox to toggle the visibility of this category on the map. Click the style preview to open the Edit category dialog, or type a custom Label to display in the legend. Clicking the list button allows you to manually select a value from the database.
The All others category is located at the bottom and captures all objects whose value does not match any of the explicitly defined categories.