What is KML?
KML (Keyhole Markup Language) is an XML-based format for geographic data. It's the standard format used by Google Earth, and it's what TreeSight uses to define your area of interest.
A KML file contains one or more polygons โ shapes drawn on the map that define exactly where you want satellite imagery analysed. TreeSight also supports KMZ files, which are compressed archives containing KML.
Google Earth Pro (Free)
We recommend Google Earth Pro โ it's free, runs on Windows, macOS, and Linux, and makes it easy to draw polygons and export KML.
- Download from google.com/earth/about/versions โ choose "Google Earth Pro on desktop"
- Install and open the application
- Sign in with a Google account (or skip โ it's optional)
Creating Your KML File
1 Navigate to your area
Use the search bar in Google Earth Pro to find the area you're interested in. You can search by place name, coordinates, or simply zoom and pan to the right location.
2 Draw a polygon
Click Add โ Polygon in the menu bar (or press Ctrl+Shift+G). A dialog box will appear.
Give your polygon a name (e.g., "Farm boundary" or "Forest plot"), then click on the map to place each corner of your shape. Click the first point again to close the polygon.
3 Refine your selection
Drag the corner points to adjust the shape. You can also right-click on an edge to add more points for a more precise boundary.
When you're happy with the shape, click OK in the dialog.
4 Save as KML
Right-click the polygon in the Places panel on the left, then select Save Place Asโฆ
In the save dialog:
- Choose KML or KMZ from the "Save as type" dropdown
- Pick a location on your computer and click Save
5 Upload to TreeSight
Go to the Live Demo section, drag your KML/KMZ file onto the upload area (or paste the KML text), and click Run Pipeline.
TreeSight will extract the polygons, find matching satellite imagery, and deliver your analysis in minutes.
Getting the Best Results
Polygon size
TreeSight works best with areas between 1 hectare and 10,000 hectares. Very small polygons may not intersect enough satellite tiles; very large ones may take longer to process.
Multiple polygons
You can include multiple polygons in a single KML file. TreeSight will process each one individually and return results for all of them.
Coordinate system
KML files always use WGS 84 (EPSG:4326) coordinates. Google Earth Pro handles this automatically โ no manual CRS configuration needed.
KML vs KMZ
KML is plain XML text โ you can open it in any text editor. KMZ is a compressed ZIP archive containing KML and optional assets. TreeSight supports both.
Alternative tools
- Google My Maps โ draw shapes in your browser, export as KML
- QGIS โ free professional GIS, export any vector layer as KML
- geojson.io โ draw polygons online, then convert GeoJSON to KML
Ready to try it?
Upload your KML file and see satellite analysis in minutes.