Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including geoexif with all npm packages installed. Try it out:

var geoexif = require("geoexif")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

geoexif v1.0.0

A command line tool for extracting and using geo locatiom data from images

geoexif

Build Status NPM Version License Dependency Status devDependency Status

A nodejs tool to extract geolocation data from images.

Requires a global installation of ImageMagick.

This is a work in progress.

Installation

$ npm install -g geoexif

Usage

$ geoexif paris.jpg
48.86031666666667,2.3617194444444447
https://www.google.com/maps?q=48.86031666666667,2.3617194444444447

ctrl/command-click the url to open it in your default browser, or just add map to the command:

$ geoexif paris.jpg map
48.86031666666667,2.3617194444444447
https://www.google.com/maps?q=48.86031666666667,2.3617194444444447
# will open the url in your default browser...

Feedback

Contribution

  • Check the src/test/images directory for example images with exif data.
  • Run ESLint and Tape tests with npm test
  • Open a pull request!
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free