Struct terra::terrain::dem::DigitalElevationModel
[−]
[src]
pub struct DigitalElevationModel { pub width: usize, pub height: usize, pub cell_size: f64, pub xllcorner: f64, pub yllcorner: f64, pub elevations: Vec<f32>, }
Fields
width: usize
height: usize
cell_size: f64
xllcorner: f64
yllcorner: f64
elevations: Vec<f32>
Methods
impl DigitalElevationModel
[src]
fn from_ned_zip(data: Vec<u8>) -> Result<Self, Box<Error>>
[src]
Load a zip file in the format for the USGS's National Elevation Dataset.
fn from_srtm1_zip(
latitude: i16,
longitude: i16,
data: Vec<u8>
) -> Result<Self, Box<Error>>
[src]
latitude: i16,
longitude: i16,
data: Vec<u8>
) -> Result<Self, Box<Error>>
Load a zip file in the format for the NASA's STRM 30m dataset.