pub struct ProjectedCrs {
pub name: String,
pub base_geodetic_crs: BaseGeodeticCrs,
pub map_projection: MapProjection,
pub coordinate_system: CoordinateSystem,
pub usages: Vec<Usage>,
pub identifiers: Vec<Identifier>,
pub remark: Option<String>,
}Expand description
A projected coordinate reference system (PROJCRS).
A projected CRS is derived from a geographic CRS by applying a map projection. It uses Cartesian coordinates (easting/northing) rather than angular coordinates.
WKT2 keywords: PROJCRS (preferred), PROJECTEDCRS (not supported by this parser).
Fields§
§name: StringThe name of the projected CRS (e.g. “WGS 84 / UTM zone 31N”).
base_geodetic_crs: BaseGeodeticCrsThe base geodetic or geographic CRS from which this CRS is derived.
map_projection: MapProjectionThe map projection (conversion) applied to the base CRS.
coordinate_system: CoordinateSystemThe coordinate system describing axes, their directions, and units.
usages: Vec<Usage>Zero or more scope-extent pairings describing the applicability of this CRS.
identifiers: Vec<Identifier>Zero or more external identifiers referencing this CRS.
remark: Option<String>An optional free-text remark about this CRS.
Implementations§
Source§impl ProjectedCrs
impl ProjectedCrs
Source§impl ProjectedCrs
impl ProjectedCrs
Sourcepub fn to_projjson(&self) -> Value
pub fn to_projjson(&self) -> Value
Serialize this projected CRS to a PROJJSON serde_json::Value.
Trait Implementations§
Source§impl Clone for ProjectedCrs
impl Clone for ProjectedCrs
Source§fn clone(&self) -> ProjectedCrs
fn clone(&self) -> ProjectedCrs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more