Crates.io | lego_elevation |
lib.rs | lego_elevation |
version | 0.1.0 |
source | src |
created_at | 2024-10-07 20:31:10.038312 |
updated_at | 2024-10-07 20:31:10.038312 |
description | Get elevation data suitable for building a terrain map out of legos |
homepage | |
repository | https://github.com/matthewdrees/lego_elevation |
max_upload_size | |
id | 1400439 |
size | 36,653 |
Get elevation data suitable for building a terrain map out of legos.
Usage: lego_elevation [OPTIONS] --center <CENTER> --radius <RADIUS> --levels <LEVELS> --gridsize <GRIDSIZE>
Options:
-c, --center <CENTER> Center of the map, latitude/longitude. Supported formats:
"46° 51' 6 N 121° 45' 37 W"
"N 46° 51' 6, W 121° 45' 37"
"46° 51.1' N 121° 58.6167' W"
"46.86167° N, 121.76028° W"
"46.86167 N 121.76028 W"
-r, --radius <RADIUS> Map radius from the center, in kilometers
-l, --levels <LEVELS> Number of elevation levels
-g, --gridsize <GRIDSIZE> Number of columns and rows
-v, --verbose
-h, --help Print help (see more with '--help')
-V, --version Print version
Example: (Mount Rainier)
$ lego_elevation --center "46°51′6 N 121°45′37 W" --radius 7 --levels 9 --gridsize 32
Elevation values are written to 'elevation.csv'.