pub struct KrovakBaseProjection<const C: i64, const E: bool> { /* private fields */ }Expand description
§Krovak
Classification: Conformal Conical
Available forms: Forward and inverse, spherical and ellipsoidal
Defined area: Global, but more accurate around Czech Republic and Slovakia
Alias: krovak
Domain: 2D
Input type: Geodetic coordinates
Output type: Projected coordinates
§Projection String
+proj=krovakBy default, coordinates in the forward direction are output in easting, northing, and negative in the Czech Republic and Slovakia, with absolute value of easting/westing being smaller than absolute value of northing/southing.
See also mod_krovak for a variation of Krovak used with the S-JTSK/05 datum
in the Czech Republic.
§Required Parameters
- None, all parameters are optional for this projection.
§Optional Parameters
+czech: Reverses the sign of the output coordinates for use in the Czech Republic and Slovakia (positive values become westing and southing).+lon_0: Longitude of projection center. Defaults to24°50'(24.8333).+lat_0: Latitude of projection center. Defaults to49.5.+k_0: Scale factor. Defaults to0.9999.+x_0: False easting. Defaults to0.+y_0: False northing. Defaults to0.
§Notes
- The latitude of the pseudo standard parallel is hardcoded to
78.5°. - The ellipsoid used is Bessel by default.
- Before PROJ 9.4, using custom
x_0ory_0without the+czechswitch resulted in incorrect values.

Trait Implementations§
Source§impl<const C: i64, const E: bool> Clone for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> Clone for KrovakBaseProjection<C, E>
Source§fn clone(&self) -> KrovakBaseProjection<C, E>
fn clone(&self) -> KrovakBaseProjection<C, E>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const C: i64, const E: bool> CoordinateStep for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> CoordinateStep for KrovakBaseProjection<C, E>
Source§impl<const C: i64, const E: bool> ProjectCoordinates for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> ProjectCoordinates for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> StructuralPartialEq for KrovakBaseProjection<C, E>
Auto Trait Implementations§
impl<const C: i64, const E: bool> !Freeze for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> !RefUnwindSafe for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> !Send for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> !Sync for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> Unpin for KrovakBaseProjection<C, E>
impl<const C: i64, const E: bool> !UnwindSafe for KrovakBaseProjection<C, E>
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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
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>
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