Skip to content

Commit

Permalink
Upload assets
Browse files Browse the repository at this point in the history
  • Loading branch information
JayKickliter authored Oct 5, 2023
1 parent 456d89c commit 2e0c2f7
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions terrain/README.md
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)

0 comments on commit 2e0c2f7

Please sign in to comment.