#[non_exhaustive]pub struct GeoReferenceDetails {
pub operation: Option<CoordinateOperationKind>,
pub well_known_text: Option<String>,
pub map_unit_resolved: Option<bool>,
}Expand description
Additional metadata returned by GeoRefExtractor::extract_with_details.
Kept separate so existing callers can still construct GeoReference
exhaustively and match every GeoRefSource variant.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operation: Option<CoordinateOperationKind>The parsed coordinate operation; absent for CRS-only and legacy data.
well_known_text: Option<String>Trimmed IfcWellKnownText.WellKnownText attached to the selected CRS.
When present, this is the authoritative definition, even without a name.
map_unit_resolved: Option<bool>Whether the CRS MapUnit was READ (its declared factor is the one its name means) or is a fallback nobody may
carry into a write: the METRE default of an unreadable unit, or a name whose declared factor disagrees (a survey
foot named FOOT). None when no MapUnit is authored. The TS twin’s mapUnitResolved.
Implementations§
Source§impl GeoReferenceDetails
impl GeoReferenceDetails
Sourcepub fn source_label(&self, base: Option<GeoRefSource>) -> Option<&'static str>
pub fn source_label(&self, base: Option<GeoRefSource>) -> Option<&'static str>
Precise wire provenance, including rigid operations, or the base label.
Trait Implementations§
Source§impl Clone for GeoReferenceDetails
impl Clone for GeoReferenceDetails
Source§fn clone(&self) -> GeoReferenceDetails
fn clone(&self) -> GeoReferenceDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more