The Data tab is used to prepare the data you need to create thematic analyses and add interactivity to the published map.
- Information,
- Unique Identifier and Feature Name,
- Toolbar,
- Thematic Data Table Properties,
Information
This is the Data tab:
The data tree you create will be visible in the Create a New Thematic Analysis menu of the published map.
When you open the tab for the first time and until you have created a category or thematic data table, the Add Thematic Data dialogue will open automatically.
This is how this dialogue looks like if you use a local layer:
This is how this dialogue looks like if you use a server layer:
Unique Identifier
This identifies the column in the source GIS data that contains the unique identifier for each record. If you select a column that does not contain a unique value for each record, you will be alerted that you cannot use that column. If you do not have a column that contains unique identifiers, choose <Auto-Generate> which will use the record’s row number as its unique identifier.
If you use <Auto-Generate>, you will not be able to use other external data columns. You will only be able to use the data columns from the source GIS file.
Feature Name
This identifies the thematic data that contains the feature name for each geographic object. This name is the one that is most commonly used in the data tip or the data panel to identify the feature.
Toolbar
Tool | Description |
Add Category | |
Add Thematic Data Table | |
Add Thematic Data | |
Rename | |
Copy | |
Paste | |
Move up | |
Move down | |
Remove |
Category Properties
Categories and sub-categories are used to organize your thematic data table into a meaningful data tree.
ID: A unique identifier string (within the layer).
Label: The text label as it will appear in the published map
Thematic Data Table Properties
A Thematic Data Table is a collection of thematic data. These tables allow you to group together related data. There is a default maximum of 100 thematic data per table. This limit can be changed in the Publish tab of the Preferences dialogue.
General & Accessibility
Data Format: Select the format to use for the files that contain the data.
- Select JSON for improved speed and size.
- Select XML for backwards compatibility.
Description: Add a personalized description.
ID: A unique identifier string.
Label: The text label as it will appear in the published map.
Metadata (Sources): Information about the source of the data.
URL: The path to the XML or JSON data file that will be created for this thematic data table in the output folder of the map when the map is published.
Aggregate By: Uses thematic data from the same thematic data table to group the resulting table data. Each unique value in this data will have its own table in the accessible data with the rows whose aggregate column matches the unique value.
Enabled: Indicates if this thematic data table will appear in the accessible output files.
Sort By: Selects thematic data from the same thematic data table that determines the order of the rows as they appear in the accessible output files.
Sort Direction: Selects the sort direction (ascending or descending) if Sort By is selected.
Thematic Data Properties
A thematic data can be a column of the layer’s source file or information contained in another data source. You can select multiple thematic data and use the options to set up the units, description, source and other properties for all selected data.
You can edit these columns if you use some local layers. For server layers, you have to do it directly into your server.
General
Aggregation Type: If statistics for the data are turned on in the viewer, this determines the statistic that is calculated for the column. String column options are none or count. Numeric column options are: none, sum, average, minimum or maximum.
Column Type: The type of data represented.
Column Type | Description |
String | Alphanumeric characters including letters, digits and space |
Float | Decimal numbers |
Integer | Whole numbers (not a fraction or decimal), from -2,147,483,648 (-231) through 2,147,483,647 (231 - 1) |
Byte | Whole numbers from 0 to 255. |
DataTime | Stores year, month, day, hour, minute and second values |
Time | Stores hour, minute and second values |
Long | Whole numbers (not fraction or decimal), from -9,223,372,036,854,775,808 (-263) through 9,223,372,036,854,775,807 (263 - 1) |
CData | When the table data format is XML, this indicates the column contains HTML |
Image URL | Display images as a carousel in the information panel. You can also include images in the tooltip |
Description: Add a personalized description.
ID: A unique identifier string.
Label: The text label as it will appear in the published map.
Mappable: Indicates if the data will be available to create thematic analyses. Regardless of this setting, the data will always be available for interactive purposes (Data Tip, Info, Data and Selection Panel, Search and Hyperlink).
Metadata (Sources): Information about the source of the data.
Source Column Library Path: The path to the source file used for this thematic data.
Source Column Name: The name of the column in the source file used for this thematic data.
Not Available Value
These properties allow you to set a specific data value like 0 or -9999 to be displayed as N/A in the published map.
Enable Conversion: Indicates if the not available value conversion will be performed.
Value to Convert: Indicates the value that will be converted to N/A in the published map.
Numeric
These properties allow you to format float data column values.
Precision: The number of decimals displayed in the published map.
Round to Specified Precision: Indicates if values are rounded to the precision specified in the published map files.
Unit Placement: Units are placed before or after
Units: The data unit displayed in the published map, such as $, % or km².
Add thematic data
If you want to link a spreadsheet with your geographic layer on the server, please consult this article.
If you want to add some data from a local spreadsheet you'll have to go into the Data tab > click on "Add Thematic Data Table" > Select "From Data Source Manager".
Then you will have to select your file and click on "Next".
And finally, you'll have to select the data you want to import and click on "Finish".