aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-11-29 22:00:35 -0800
committerOskari Timperi <oskari.timperi@iki.fi>2018-11-29 22:00:35 -0800
commit91934564b407a8e0b0d5a5920ce2d0c0c0b639d9 (patch)
tree81f5be6278f90ebb071e2c9c4f75a9c02b40b42f
parent984219aee20204d05a2ffa65cc912d1cda400d79 (diff)
downloadplag-91934564b407a8e0b0d5a5920ce2d0c0c0b639d9.tar.gz
plag-91934564b407a8e0b0d5a5920ce2d0c0c0b639d9.zip
Add README.md
-rw-r--r--README.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9f4eb85
--- /dev/null
+++ b/README.md
@@ -0,0 +1,38 @@
+# Photo Location As GeoJSON
+
+This little tool will extract GPS coordinates from your photos and use the locations to create
+GeoJSON.
+
+Using the tool is simple. You just give the filenames of your photos as arguments and you will get
+GeoJSON on stdout:
+
+```
+$ ./plag --pretty photo1.jpg photo2.jpg
+{
+ "features": [
+ {
+ "geometry": {
+ "coordinates": [
+ -121.06083333333333,
+ 48.47138888888889
+ ],
+ "type": "Point"
+ },
+ "properties": {},
+ "type": "Feature"
+ },
+ {
+ "geometry": {
+ "coordinates": [
+ -122.70194444444445,
+ 45.51888888888889
+ ],
+ "type": "Point"
+ },
+ "properties": {},
+ "type": "Feature"
+ }
+ ],
+ "type": "FeatureCollection"
+}
+```