Skip to content

fizyk20/dted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rust implementation of the DTED file format

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages