2 unstable releases
0.2.0 | Sep 1, 2021 |
---|---|
0.1.0 | Feb 17, 2019 |
#3 in #elevation
111 downloads per month
71KB
260 lines
Rust-DTED
What is it?
This crate implements utilities for reading DTED (Digital Terrain Elevation Data) files.
Example usage
Code reading a file and getting the terrain elevation at a given latitude and longitude would look like this:
use dted::read_dted;
let elev_data = read_dted("path/to/file.dt2").unwrap();
let elevation = elev_data.get_elev(latitude, longitude).unwrap(); // returns None if lat/lon are out of range
Dependencies
~2.5MB
~57K SLoC