Skip to main content

extract_georeferencing

Function extract_georeferencing 

Source
pub fn extract_georeferencing<T>(content: &T) -> Option<Georeferencing>
where T: AsRef<[u8]> + ?Sized,
Expand description

Extract georeferencing from an IFC file, returning None when the model carries no IfcMapConversion / ePSet_MapConversion data.

Only the entity types the extractor needs (IfcMapConversion, IfcProjectedCRS, and IfcPropertySet for the IFC2x3 ePSet_MapConversion fallback) are collected from the scan — their IfcType is known from the entity name, so no decoding happens while building the candidate list.