1.1.3 • Published 3 years ago

exif-geojson v1.1.3

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

exif-geojson

Build Status Dependency Status Download Status Sponsor on GitHub

A ES2017 function to generate a GeoJSON Point from EXIF GPS data.

This function is meant to be used with exif or exif-async.

Installation

npm install --save exif-geojson exif-async

Usage

const exifGeojson = require('exif-geojson');
const getExif = require('exif-async');

(async function() {
    try {
        const exif = await getExif('./photo_exif.jpg');
        const point = exifGeojson(exif);
        console.log(point);
    } catch {
        console.log('No location data found');
    }
})();

License

MIT

1.1.3

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

7 years ago