| |
Vector to Kml Settings
The Vector to KML settings window enable you to control how placemarks, lines and polygons look like in Google Earth. Keyhole Markup Language tags like (Fade Extend, Level of Detail and Regions ) can also be set.

The user can select “Single Symbol” or “Classes of Symbols ”.
- “Single Symbol”: Select this option if you want to assign a single style for the whole features in the vector file. User should select the “Name field” to use for the KML <name> tag from the drop down menu containing the fields of the vector file. If the Geometry type is not detected by T2K Pro then you have to select it manually
- “Classes of Symbols”: Select this option if you want to classify the features in the vector file and assign different style for each class. Up to 50 Classes can be added, and for each class the user can choose the Icon, Icon Color, Icon Scale, Icon Capacity, Label Field, Label Color, Label Scale, and Label Capacity; thus providing several options to categorize the different attributes of the vector file, and to control the appearance of each class in the output kml file.
Building the Classes Table:
If you choose the “Classes of Symbols” please follow the below steps:
- Select the number of classes you want.
- Select the “Name field” to use for the KML <name > tag from the ‘Class label Name ’ drop down menu. Different label names can be selected for each class.
- For Points Vector files you can select the Icon from the Icons drop down menu.
- Set the Label Color, Label Scale, and Label Capacity.
- Select the Icon Color, Icon Scale, Icon Capacity.
- For Vectors containing lines / Polylines, set the Line Color, Line Scale, and Line Capacity.
- For Vectors containing Polygons set the Area Color, Area Type, and Area Capacity.

- Build the Class Query: Select the Field you want to query with and enter the value using the (=, <, > <=,>=, <>) operators and click on the button to add the Criteria to the Query. You can use the (And, OR) operator to add more than one field value to the Query. Once you are finished click on the ‘Add to Class’ button to set the current Class Criteria’s. Now T2K tries to compute the number of records matching your criteria. If the query is build correctly and there are number of matching records you get the following message. If there are no matching records, you have to start again.

- After assigning the Classes Criteria click on the ‘OK’ button to start the Transformation.
Altitude settings:

Click on ‘Enable 3D’ check box in order to enable the altitude parameters. 3D Points, Lines, Polygons can be viewed in ‘3D’ mode in Google Earth by using Z altitude value. ‘2D’ vector files can be transformed into 3D features using an attribute field containing the height value or by using a constant value. You can also set the Altitude mode relative to:
Relative To Ground: Extrudes the height of the data relative to the ground.
Absolute: Extrudes the height of the data to an absolute value.
Clamped To Ground: Pins the Vector Features data to ground level.
Fade Extend / LOD/ Regions settings:

- Fade Extend describes the distance over which the geometry fades, from fully opaque to fully transparent. This ramp value, expressed in screen pixels, is applied at the minimum end of the LOD (visibility) limits.
- Lod is an abbreviation for Level of Detail. LOD describes the size of the projected region on the screen that is required in order for the region to be considered "active." Also specifies the size of the pixel ramp used for fading in (from transparent to opaque) and fading out (from opaque to transparent)
- A region contains a bounding box that describes an area of interest defined by geographic coordinates and altitudes. In addition, a Region contains an LOD extent that defines a validity range of the associated Region in terms of projected screen size.
|