# CGL Files CGL files are container files used by the simulation to hold compressed imagery, elevation, and/or vector data about the world. The data is stored following a quadtree scheme, based on a mercator projection of the Earth, which is explained full from the following link: - [Bing Maps Tile System](https://learn.microsoft.com/en-us/bingmaps/articles/bing-maps-tile-system "Bing Maps Tile System") In general, CGL files are internal to the simulation and you don't add or make them yourself. However, it is possible to modify the simulation CGL images used for terrain, as illustrated in the [SimpleAerial](../../../../../samples-tutorials/samples/sceneries/simpleaerial/) sample project, and add in your own overlays on the base terrain textures. For this to work, you will need to create a number of PNG format images (named with the quadtree key to identify the location where they are to be used) and then use the [CGL Asset Type](../../asset-types/#CGL) in [The Project Editor](../../the-project-editor/) to create packages with compiled CGLs. These CGL assets also require an XML file as part of the configuration, and you can find information on this here: ### Aerial Image Format Aerial image files are created at a very high map LOD level (LOD20), which has the following approximate values: {{< table-wrapper >}} | **Level of Detail** | **Map Width and Height (pixels)** | **Ground Resolution (meters / pixel)** | **Map Scale** **(at 96 dpi)** | | --- | --- | --- | --- | | 20 | 268,435,456 | 0.1493 | 1 : 564.25 | {{< /table-wrapper >}} All image files for aerial images should be authored as **16bit PNG** with a fixed size of **256x256px**, and the build process will automatically generate the images for the lower levels of detail as part of the generated CGL file. Note that the alpha channel of the provided aerial image PNG is used to blend between the image and the in-game aerial, where a pixel with alpha 0 means the in-game aerial pixel is used, and 1 means the provided aerial pixel is used. Any value in-between will create a linear interpolation between the in-game aerial and the provided aerial. {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/SimpleAerial/simpleaerial_assetingame.png" alt="Aerial Images In The Game" >}}