Skip to content

mostfamiliar/elevation-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add elevation to geojson points using the Mapbox tilequery API.

Import .geojson file with point geometry (lat/lng coordinates), export .geojson with 'ele' for each point

Requirements

  • Active Mapbox API key
  • Node Version ~13

Install

$ npm install --global elevation-cli

Usage

  Usage
    $ elevation [command] <options|path>
    
  Commands
    - `config`: set mapbox API key
    - `fetch`: query mapbox API
    
  Options
    - `-h`: show help menu for a command
    - `-v`: show package version
    - `-p`: print
    
  Examples
    $ elevation fetch ~/azt.geojson
    $ elevation config -p
    

Related

About

Mapbox elevation query CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published