Guide4 min read
Share a KML or KMZ online as an interactive map
Turn two Google Earth placemarks and a route into a browser map. Try the KMZ, export the right layers in QGIS and see what happens to icons and overlays.
By Sarkoa
Updated
You have a Google Earth route and want someone to open it in a browser. Open the finished route map and click West stop or East stop. The line between them has its own name. You can recreate the map from the training KMZ in QGIS, or start with the two GeoJSON exports below.
Find the layers you want to share
A KML can describe places, paths, styling and references to images. A KMZ packages a KML with files it uses. Our fictional sample contains a folder named Stops with two placemarks, a Route folder with a line, a custom stop icon and a small grid image positioned as a ground overlay. If a KML refers to images kept beside it, keep those files together when you move the project.
Drag the KMZ into QGIS and select Stops and Route. Open each attribute table. You should see two named points in the first layer and one named line in the second. For a plain KML, start by opening the KML itself and inspecting its layers the same way.
Export the points and route
- Right-click Stops, choose Export → Save Features As…, select GeoJSON, and set the coordinate system to EPSG:4326 – WGS 84. Under Select fields to export, select Name. Repeat for Route, using a different filename.
- Open the exported files in a fresh QGIS project. Check the two point names and the line’s path. You can compare your results with the stop points and route line.
- Sign in to Sarkoa, open Files, upload both exports and wait for processing. In Custom maps, add the route first and place the stops above it. Use a contrasting stroke for the line and a distinct point colour. Set each layer’s popup to show Name.
- Frame both stops, save the opening view and choose who can open the map. To share this fictional example publicly, copy the public viewer link and test it while signed out. For a client project, check map and file access before sending the link.
What survived the conversion?
| Source item | What appears in the browser map |
|---|---|
| Two placemarks and their names | Two clickable stops retain their positions and names. |
| Route path | One named line retains its three vertices in the export. |
| Folders | Each selected folder became its own layer. Name and order those layers in the builder. |
| Custom icon | GeoJSON carries the point geometry and name. Set the marker’s appearance on the map. |
| Ground overlay | The grid image is outside the two vector exports. To show imagery, prepare it as a georeferenced raster and add it separately. GeoTIFF guide |
In our test, uploading this mixed KMZ directly reached processing and returned a reprojection error. The two QGIS exports processed successfully and produced the map above. If your project relies on an image draped over terrain, check that image separately before handing off the map.
Related posts
- Guide4 min read
Agentic GIS in practice: turn an inspection question into a field map
Use a GIS AI agent to query three inspection sites, check the two that need review, and publish an interactive map your field team can open.
Read more → - Guide6 min read
How to compare two maps and show what changed
Choose a useful before-and-after map, prepare two matching datasets, and let readers inspect the difference without mistaking a visual comparison for a measurement.
Read more →