https://github.com/nmandery/photos2kml
Use the geoinformation stored in photos to generate a KML file
https://github.com/nmandery/photos2kml
exif exif-data-extraction geo geographic-data images kml photography
Last synced: about 2 months ago
JSON representation
Use the geoinformation stored in photos to generate a KML file
- Host: GitHub
- URL: https://github.com/nmandery/photos2kml
- Owner: nmandery
- License: bsd-2-clause
- Created: 2017-07-21T18:21:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-16T13:20:20.000Z (about 8 years ago)
- Last Synced: 2025-01-01T04:32:34.510Z (10 months ago)
- Topics: exif, exif-data-extraction, geo, geographic-data, images, kml, photography
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# photos2kml
Convert the geographical information stored in the EXIF data of JPEG images to generate a [KML](https://developers.google.com/kml/) file.
Features:
* Generates a placemark for each each of the photos which contains geodata as well as a timestamp.
* A path will be added to the KML which connects all files in the order they were recorded. This is particularly useful to create routes of trips using the photos taken during this time.
* Optionally the names of places are added by using the reverse geocoding of [http://nominatim.openstreetmap.org](http://nominatim.openstreetmap.org)Files without a recording date or without coordinates will be ignored.
## Installation
You need to have [go](https://golang.org/) installed. Then you can install this tool by executing
go get github.com/nmandery/photos2kml
## Usage
The input file list will be read from standard input (stdin), the KML will be written to stdout.
Example using a prepared list of files:
photos2kml my_photos.kml
Example using `find`:
find . -name '*.jpg' | photos2kml >my_photos.kml
There are addtional switches the influence the contents of the KML file. See
photos2kml -h
for a list of options.