CGL AERIAL XML PROPERTIES
The <CGL_filename>.xml
file contains the list of XML elements that describe the location of the images to be compiled as CGL files when the package is built. These CGL files are used to manipulate the terrain texture data and add in additional terrain textures from image files that you have created specifically for the task. You can find out more information about CGL files from the following link:
You can also find a sample project that illustrates the use of this XML file to generate a CGL package with custom images here:
The <CGL_filename>.xml
file goes in the vegetation
folder beside the other folders for the package and should be formatted as follows:
<CGLBuilder>
<CGL type="SecondaryAerialImage" input="Tiles" directory="aerial_images"/>
</CGLBuilder>
<CGLBuilder>
This element is a container element for one or more <CGL />
elements. It has no attributes.
<CGL />
This self-closing element is what is used to generate a rule telling the package builder the location of the and has the following attributes:
Attribute | Description | Type | Required |
---|---|---|---|
type |
Specifies the type of CGL data. For now, the only supported type is "SecondaryAerialImage", for custom aerials. | String | Yes |
input |
Specifies the format of the input data. For now, the only supported type is "Tiles", which specifies that each of your files is an aerial image for a specific tile, whose name is the quadkey of the tile, with the *.png extension. |
String | Yes |
directory |
Specifies in which sub-directory (relative to the XML file) where your image data is stored. | String | Yes |