gps2json

1.1.2 • Public • Published

gps2json

CLI to pull photo gps data into a JSON file

Images MUST be JPEG format

Flags / Options

The following parameters are customizable:

  • Name
    -n or --name: This is the name of the file created. The default is metadata.

    Example:

    gps2json -n=image_data
    
    gps2json --name=new_image_data
  • Input Folder
    -i or --input: This is the input folder where the images live. The default is the folder of where the command was ran.

    Example:

    gps2json -i=./src/assets/imgs
    
    gps2json --input=../imgs/icons
  • Output Folder
    -o or --output: This is where the JSON file will live. The default is the folder of where the command was ran.

    Example:

      gps2json -o=./src/assets/JSON
    
      gps2json --output=../static

    Format
    -f or --format: This is the output file format. The options are json and geojson. The default is json.

    Example:

      gps2json -f=json
    
      gps2json --format=geojson

Package Sidebar

Install

npm i gps2json

Weekly Downloads

1

Version

1.1.2

License

ISC

Unpacked Size

4.52 kB

Total Files

3

Last publish

Collaborators

  • acjanus