Photo Album to KMZ
Turns a shared photo album (Google Photos or Google Earth) into a Google Earth KMZ. Each photo becomes a pin at the spot where it was taken, and the photo opens in the pin's balloon. Use it to put site reconnaissance photos, field walk photos or photos a colleague took on the same map as the desktop study. Paste the album link and click Convert to KMZ, or drop a downloaded album. With a link, dirtbert.com reads the shared album and passes the photos to your browser; nothing is stored. Everything else runs in your browser.
1. Get the photos
- Open the album, click the ⋮ menu (top right) and choose Download all. Google saves a .zip file. A large album may come as several zips.
- Drop the zip(s) below. You can also drop loose photos, a whole folder, or a Google Takeout export. Takeout's
.jsonfiles carry Google's location even when the photo itself has none. - Check the map. Place any photo without a location by hand, or fill it from the time it was taken.
- Build and download the KMZ, then open it in Google Earth Pro or Google Earth on the web.
Drop album zip, photos or a folder hereor click to choose files
2. Check locations
| Use | Photo | Name / taken | Latitude | Longitude | Facing | Note (shows in balloon) | Source | |
|---|---|---|---|---|---|---|---|---|
| No photos loaded yet. | ||||||||
3. Build the KMZ
Use and limitations
- Where locations come from. In order: the GPS tags in the photo (EXIF), then the Google Takeout
.jsonsidecar, then any location you place by hand or fill from the time taken. The Source column shows which one each photo used. Phone GPS is typically good to 15 to 30 ft in the open and worse under tree cover, in cuts and next to structures. Treat the pins as approximate and tie critical features to a survey. - No locations at all? When an album owner turns on Google's sharing setting to hide photo location, or when photos were sent through a messaging app, the GPS tags are removed. Ask the photographer for the original files or a Takeout export, or place the photos by hand.
- Fill from time taken interpolates a position along the line between the nearest located photos taken before and after, provided both are within the maximum gap. It works well for a continuous walk along the track and poorly when the photographer drove between stops.
- HEIC photos (the iPhone default) are read for location, but most browsers cannot draw them. They are placed in the KMZ as pins without a picture. Convert them to JPG first if you need the image in the balloon. Videos are skipped.
- File size. 1600 px photos are usually 0.3 to 0.6 MB each, so a 200-photo album makes a KMZ of about 60 to 120 MB. Google Earth on the web limits imports, so use 800 or 1280 px for large albums.
- Check the photo content before sharing a KMZ outside the project team. The KMZ carries the photos, the times they were taken and the album link.
GHRM · Railway Ground Hazard Risk Management · Daniel P. Colwell