dted

Crates.iodted
lib.rsdted
version0.2.0
sourcesrc
created_at2019-02-17 01:26:56.433499
updated_at2021-09-01 20:50:47.981426
descriptionTools for reading DTED files
homepage
repositoryhttps://github.com/fizyk20/dted.git
max_upload_size
id115284
size25,991,232
Bartłomiej Kamiński (fizyk20)

documentation

https://docs.rs/dted/0.2.0/dted/

README

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
Commit count: 11

cargo fmt