From 91934564b407a8e0b0d5a5920ce2d0c0c0b639d9 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Thu, 29 Nov 2018 22:00:35 -0800 Subject: Add README.md --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.md 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" +} +``` -- cgit v1.2.3