-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
456d89c
commit 2e0c2f7
Showing
1 changed file
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
# Terrain profiling | ||
|
||
`terrain` aggregates and sources NASADEM tiles, and generates 1d | ||
elevation profiles between any two points on earth. | ||
`terrain` aggregates and sources NASADEM tiles, and generates 1d elevation profiles between any two points on earth. | ||
|
||
## Motivation | ||
## Motivating example | ||
|
||
Imaging we want to know what kind of terrain we'll encounter if we followed the line on this map from right to left: | ||
We want to know the terrain obstruction a ray will encounter if it followed the line on this map from east to west: | ||
|
||
[![lake-tahoe-google-maps](https://github.com/JayKickliter/geoprof/assets/2551201/d8e0bd0d-3fcc-4860-a152-29c90c3222f4)]("https://www.google.com/maps/d/u/0/embed?mid=1Q4TbMv-ZmAa4Uf6FizvkhQD3Ww2A498&ehbc=2E312F) | ||
|
||
<iframe src="https://www.google.com/maps/d/u/0/embed?mid=1Q4TbMv-ZmAa4Uf6FizvkhQD3Ww2A498&ehbc=2E312F" width="640" height="480"></iframe> | ||
We can use `terrain` to get data used to create this plot (`terrain` does not perform plotting itself): | ||
|
||
```rust | ||
use terrain::{Tiles, Profile}; | ||
|
||
let tiles = | ||
![lake-tahoe](https://github.com/JayKickliter/geoprof/assets/2551201/b8c94b4b-017c-4dd1-8a87-37c808ccea2b) |