Defining Element Point Layers Using Dynamic Points
When creating an element point layer using dynamic points, the latitude and longitude data is embedded in each element of the dimension.
To define an element point layer using dynamic points, you must create or already have available the following:
- A dimension , defined in the Transformation.cfg file or a transformation dataset include file, in which each element contains the string “latitude,longitude” or “latitude,longitude,name.”For steps to create a dimension, see the Dataset Configuration Guide .
- A layer file that specifies the related dimension.For more information about the required format of the layer file, see Element Point Layer File Format .
When using Dynamic Points, it is essential to ensure that the cardinality of the dimension specified in the layer file is reasonable. If every row of a dataset has a different latitude and longitude, the dimension quickly fills up and most rows fall into a Small Elements element. Because the Small Elements element does not have a latitude and longitude, it does not appear on the globe.
Element Point Layer File Format
Each element point layer file using dynamic points must be formatted using the following template:
Layer = ElementPointLayer: Dimension = ref: wdata/model/dim/Dimension Name Metric = ref: wdata/model/metric/Metric Name Dynamic Points = bool: true Scale = double: Scale Color = v3d: RGB Color Vector Rendering Mode = int: Mode Number
The name of the dimension (defined in a transformation configuration file), which must contain elements with the string “latitude,longitude” or “latitude,longitude,name” as shown in the following examples:
|Metric||The name of the metric that is evaluated over the dimension specified in the Dimension parameter.|
|Dynamic Points||Enables Dynamic Points. Set to true.|
|Scale||Optional. Value used to size the points in the layer. The default value is 100. Larger values make the points bigger, and smaller values make them smaller.|
|Color||Optional. The RGB color vector, which is expressed as (red,green,blue). For each color in the vector, you can enter a value from 0.0 to 1.0. For example, (1.0, 0.0, 0.0) is bright red, and (0.5, 0.5, 0.5) is gray.|
Optional. Integer value representing the rendering mode to use for the layer. The three available modes are as follows:
The IP Coordinates.layer file is formatted as follows:
Layer = ElementPointLayer: Dimension = ref: wdata/model/dim/Coordinates Metric = ref: wdata/model/metric/Visitors Dynamic Points = bool: true