pub enum CRS {
Show 14 variants
BoundCRS(Box<BoundCRS>),
CompoundCRS(Box<CompoundCRS>),
DerivedEngineeringCRS(Box<DerivedEngineeringCRS>),
DerivedGeodeticCRS(Box<DerivedGeodeticCRS>),
DerivedParametricCRS(Box<DerivedParametricCRS>),
DerivedProjectedCRS(Box<DerivedProjectedCRS>),
DerivedTemporalCRS(Box<DerivedTemporalCRS>),
DerivedVerticalCRS(Box<DerivedVerticalCRS>),
EngineeringCRS(Box<EngineeringCRS>),
GeodeticCRS(Box<GeodeticCRS>),
ParametricCRS(Box<ParametricCRS>),
ProjectedCRS(Box<ProjectedCRS>),
TemporalCRS(Box<TemporalCRS>),
VerticalCRS(Box<VerticalCRS>),
}Expand description
Coordinate Reference System
Variants§
BoundCRS(Box<BoundCRS>)
Represents a coordinate reference system that is bounded by a source and target CRS with a transformation.
CompoundCRS(Box<CompoundCRS>)
Represents a compound coordinate reference system, consisting of multiple components.
DerivedEngineeringCRS(Box<DerivedEngineeringCRS>)
Represents a derived engineering coordinate reference system.
DerivedGeodeticCRS(Box<DerivedGeodeticCRS>)
Represents a derived geodetic or geographic coordinate reference system.
DerivedParametricCRS(Box<DerivedParametricCRS>)
Represents a derived parametric coordinate reference system.
DerivedProjectedCRS(Box<DerivedProjectedCRS>)
Represents a derived projected coordinate reference system.
DerivedTemporalCRS(Box<DerivedTemporalCRS>)
Represents a derived temporal coordinate reference system.
DerivedVerticalCRS(Box<DerivedVerticalCRS>)
Represents a derived vertical coordinate reference system.
EngineeringCRS(Box<EngineeringCRS>)
Represents an engineering coordinate reference system.
GeodeticCRS(Box<GeodeticCRS>)
Represents a geodetic or geographic coordinate reference system.
ParametricCRS(Box<ParametricCRS>)
Represents a parametric coordinate reference system.
ProjectedCRS(Box<ProjectedCRS>)
Represents a projected coordinate reference system, which transforms geodetic or geographic coordinates into a flat, two-dimensional plane using a map projection.
TemporalCRS(Box<TemporalCRS>)
Represents a temporal coordinate reference system, which defines time-based coordinates.
VerticalCRS(Box<VerticalCRS>)
Represents a vertical coordinate reference system, which is used for height or depth measurements.
Implementations§
Source§impl CRS
impl CRS
Sourcepub fn to_projection_transform(&self, proj_transform: &mut ProjectionTransform)
pub fn to_projection_transform(&self, proj_transform: &mut ProjectionTransform)
Convert a Proj JSON to a ProjectionTransform (Proj constants with steps)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CRS
impl<'de> Deserialize<'de> for CRS
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl ToProjJSON for CRS
impl ToProjJSON for CRS
Source§fn set_geodetic_crs(&mut self, geodetic_crs: GeodeticCRS)
fn set_geodetic_crs(&mut self, geodetic_crs: GeodeticCRS)
Source§fn set_projected_crs(&mut self, projected_crs: ProjectedCRS)
fn set_projected_crs(&mut self, projected_crs: ProjectedCRS)
Source§fn set_usage(&mut self, _usage: ObjectUsage)
fn set_usage(&mut self, _usage: ObjectUsage)
Source§fn set_anchor(&mut self, _anchor: String)
fn set_anchor(&mut self, _anchor: String)
Source§fn set_coordinate_system(&mut self, _cs: CoordinateSystem)
fn set_coordinate_system(&mut self, _cs: CoordinateSystem)
Source§fn set_temporal_extent(&mut self, _extent: TemporalExtent)
fn set_temporal_extent(&mut self, _extent: TemporalExtent)
Source§fn set_vertical_extent(&mut self, _extent: VerticalExtent)
fn set_vertical_extent(&mut self, _extent: VerticalExtent)
Source§fn set_method(&mut self, _method: Method)
fn set_method(&mut self, _method: Method)
Source§fn set_ensemble(&mut self, _ensemble: DatumEnsemble)
fn set_ensemble(&mut self, _ensemble: DatumEnsemble)
Source§fn set_member(&mut self, _member: DatumEnsembleMember)
fn set_member(&mut self, _member: DatumEnsembleMember)
Source§fn set_ellipsoid(&mut self, _ellipsoid: Ellipsoid)
fn set_ellipsoid(&mut self, _ellipsoid: Ellipsoid)
Source§fn set_accuracy(&mut self, _accuracy: String)
fn set_accuracy(&mut self, _accuracy: String)
Source§fn set_frame_epoch(&mut self, _epoch: f64)
fn set_frame_epoch(&mut self, _epoch: f64)
Source§fn set_parameter(&mut self, _parameter: ParameterValue)
fn set_parameter(&mut self, _parameter: ParameterValue)
Source§fn set_meridian(&mut self, _meridian: Meridian)
fn set_meridian(&mut self, _meridian: Meridian)
Source§fn set_prime_meridian(&mut self, _prime_meridian: PrimeMeridian)
fn set_prime_meridian(&mut self, _prime_meridian: PrimeMeridian)
Source§fn set_conversion(&mut self, _conversion: Conversion)
fn set_conversion(&mut self, _conversion: Conversion)
Source§fn set_projection(&mut self, _name: String)
fn set_projection(&mut self, _name: String)
impl StructuralPartialEq for CRS
Auto Trait Implementations§
impl Freeze for CRS
impl RefUnwindSafe for CRS
impl Send for CRS
impl Sync for CRS
impl Unpin for CRS
impl UnwindSafe for CRS
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().