Convert into command line tool.

master
Dan Howe 7 years ago
parent d9fbf4ffc4
commit f0a7c1c7ae

@ -2,14 +2,26 @@
__photo-to-kml__ creates a kml file that shows geotagged images in Google Earth.
![Images shwon in Google Earth](doc/google-earth.jpg)
![Images shown in Google Earth](doc/google-earth.jpg)
## Installation ##
`pip install simplekml`
```
pip install simplekml
```
Then
```
git clone http://git.wrl.unsw.edu.au:3000/gis-cad/photo-to-kml.git
cd photo-to-kml
python setup.py install
```
## Usage ##
Create a kml for a folder of photos, named 'image_folder':
`python photo_to_kml.py image_folder`
```
photo_to_kml image_folder
```

@ -0,0 +1 @@
from .photo_to_kml import main

@ -0,0 +1,10 @@
from setuptools import setup
setup(
name='photo_to_kml',
version='0.1.0',
packages=['photo_to_kml'],
entry_points={'console_scripts':['photo_to_kml = photo_to_kml:main']},
author='Dan Howe',
author_email='d.howe@wrl.unsw.edu.au',
description='Add geotagged images to a kml for viewing in Google Earth')
Loading…
Cancel
Save