Get the elevation for every point on earth.
npm i global-elevation
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.
implemented | name | source |
---|---|---|
✅ | ETOPO1 | ETOPO1 |
✅ | ETOPO5 | ETOPO5 |
- | Copernicus | Copernicus |
- | CEDTM | CEDTM - Continental Europe Digital Terrain Model |
- | NASADEM | NASADEM_HGT |