0.2.1 • Published 2 months ago

global-elevation v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Global Elevation

Get the elevation for every point on earth.

Install

npm i global-elevation 

Usage

const { ETOPO5 } = await import('global-elevation');
let etopo5 = new ETOPO5();
let elevation = await etopo5.getElevation(13.4083, 52.5186);

This will create a tmp folder, download the data from the source and pre-process it. Note that this may take a few minutes... but only for the first query. Subsequent queries will be extremely fast. So the best use case for this lib is if you want the heights of thousands/millions of points.

Sources:

implementednamesource
ETOPO1ETOPO1
ETOPO5ETOPO5
-CopernicusCopernicus
-CEDTMCEDTM - Continental Europe Digital Terrain Model
-NASADEMNASADEM_HGT
0.2.1

2 months ago

0.2.0

2 years ago

0.1.0

2 years ago