pub enum GridFormat {
Ntv2,
Gtx,
GeoTiff,
Unsupported,
}Variants§
Ntv2
NTv2 horizontal datum-shift grid (.gsb).
Gtx
NOAA/VDatum binary GTX vertical offset grid (.gtx).
GeoTiff
PROJ-format GeoTIFF/COG grid (.tif), as distributed on the PROJ CDN.
The TYPE GDAL metadata item selects horizontal (NTv2-equivalent
latitude/longitude offsets) or vertical (geoid undulation) semantics;
both are decoded into the same internal representation as the binary
NTv2/GTX formats. Requires the geotiff crate feature.
Unsupported
Trait Implementations§
Source§impl Clone for GridFormat
impl Clone for GridFormat
Source§fn clone(&self) -> GridFormat
fn clone(&self) -> GridFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridFormat
Source§impl Debug for GridFormat
impl Debug for GridFormat
impl Eq for GridFormat
Source§impl Hash for GridFormat
impl Hash for GridFormat
Source§impl PartialEq for GridFormat
impl PartialEq for GridFormat
Source§fn eq(&self, other: &GridFormat) -> bool
fn eq(&self, other: &GridFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GridFormat
Auto Trait Implementations§
impl Freeze for GridFormat
impl RefUnwindSafe for GridFormat
impl Send for GridFormat
impl Sync for GridFormat
impl Unpin for GridFormat
impl UnsafeUnpin for GridFormat
impl UnwindSafe for GridFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more