12.7 Add an image overlay from KMZ
In the print dialog, choose Save as PDF.
Command: Import > Add Image Overlay from KMZ...
Licence: KMZ image overlay
This command imports georeferenced map images. It does not import source, receptor, building, boundary or terrain records, and it does not write AERMOD input keywords. There is no separate overlay-import window: selection and messages use a file picker, confirmations and notices.
flowchart TD
A["Import > Add Image Overlay from KMZ..."] --> B{"Licence includes KMZ image overlay?"}
B -- No --> C["Feature upsell opens"]
B -- Yes --> D{"Overlay already in project?"}
D -- Yes --> E["Replace Existing Overlay: continue?"]
E -- No --> Z["Command ends; current overlay kept"]
E -- Yes --> F["Select a .kmz file"]
D -- No --> F
F -- Cancel --> G["Please note: No file was selected."]
F -- OK --> H["Please wait, loading KMZ overlay..."]
H --> I{"Usable images inside the study area?"}
I -- No --> J["Error: Error loading KMZ overlay: reason"]
I -- Yes --> K["Images drawn; map zooms to them"]
K --> L{"KMZ copied to project folder?"}
L -- Yes --> M["Success: The images inside the study area were added."]
L -- No --> N["Please note: The overlay could not be stored in the project."]Procedure
- Open a project and select Import > Add Image Overlay from KMZ.... If the licence does not include this feature, the KMZ image overlay upsell opens instead.
- If the project already contains an image overlay, Replace Existing Overlay asks An image overlay is already loaded for this project. Loading a new KMZ will replace the existing overlay. Do you want to continue? Choose No to retain the current overlay; Yes allows selection of a replacement.
- In the file picker, select a
.kmzfile. The filter is KMZ Files (\*.kmz) and All Files. The picker uses the last user folder, falling back to My Documents. It has no custom title. Cancelling reports No file was selected. (title Please note). - After selection, the application displays Please wait, loading KMZ overlay... while it processes the archive. On success, the images are drawn on the map, the map zooms to fit them, the chosen KMZ is copied into the project folder, and the notice Success: The images inside the study area were added. appears.
- Confirm that the Image Overlay node is enabled and checked in the layer tree. Verify alignment against known site features and source/receptor locations.
Required KMZ structure and map filtering
| Element | What the importer uses |
|---|---|
| KMZ archive | ZIP-compatible .kmz with doc.kml at its root. |
| KML features | GroundOverlay nodes in the KML 2.2 namespace. KML points, lines and ScreenOverlay are not imported as map images. |
| Image reference | Icon/href pointing to an image within the archive. |
| Georeferencing | LatLonBox with north, south, east and west. Optional rotation is applied to the corners. |
| Transparency and order | Optional KML color (the opacity part is used) and drawOrder; lower draw order is rendered first, and equal values keep the order of the KML file. |
| Study-area filter | At least one rotated image corner must be inside the circular project domain. If every corner is outside, that image is not loaded, even if part of it crosses the domain. |
| Project storage | The KMZ is copied to the project folder and its file name is recorded with the project, so the overlay is redrawn when the project is next opened. The overlay is a map layer only; it is not stored as a source or receptor. |
An image will not pass the study-area test if the domain radius is zero or negative. A KMZ can contain several images, but only usable GroundOverlay images that satisfy the corner check appear. Damaged individual overlays are skipped.
Errors and replacement behaviour
If loading fails, an Error message reads Error loading KMZ overlay: followed by one of these reasons, and no success confirmation is given.
- Missing 'doc.kml' entry. The required root-level KML file is absent.
- No usable GroundOverlay images were found in the KMZ file. No supported images could be read.
- No KMZ overlay images intersect the study area. Every candidate failed the domain-corner test.
- Other messages describe an unreadable or missing file.
A failed replacement can leave the map without an overlay for the rest of the session, because the layer is cleared as soon as the new archive's doc.kml is found. The project keeps its previous KMZ record, and that overlay is redrawn the next time the project is opened.
The overlay could not be stored in the project. (title Please note) means loading succeeded but copying the KMZ into the project folder failed. The images are visible in the current session, but the project record is not updated, so the overlay is not reloaded on the next opening. Check the folder permissions and repeat the import.
The Success message is shown only after the project-folder copy succeeds. An image appearing on the map must still be checked for spatial accuracy; an imported overlay is a reference layer, not a validated coordinate survey.
This is part of the AERMOD One user's manual. Licences are on Editions and pricing. For a modelling project, contact Envitrans.