Diagnose the georeferencing (@ifc-lite/georef-check) with the EPSG
catalogue and CRS engine wired in. Offline unless allowNetwork; the
checks a missing capability prevented are in skipped. A session with
unsaved edits is checked as it would be exported.
Optionaloptions: GeorefCheckOptionsOptionalmodelId: stringApply a plan's ready fixes (re-checked: write API only, nothing user-supplied left open, no checker caveat).
OptionalmodelId: stringThe model's georeferencing, including this session's unsaved writes.
OptionalmodelId: stringWhich of a report's fixes can be applied, which need a value, and why the rest cannot. Pure.
Optionaloptions: GeorefFixPlanOptionsRemove the georeferencing (map conversions, CRSs, IFC2X3 ePSets).
OptionalmodelId: stringWrite a complete georeferencing. Throws when one exists unless replace: true.
OptionalmodelId: stringWrite IfcSite RefLatitude / RefLongitude (decimal degrees, WGS84) and RefElevation (project length units). One undo step.
OptionalmodelId: stringChange single values of the existing georeferencing.
OptionalmodelId: string
bim.georef— read and write a model's georeferencing.IFC4 and IFC4X3 write
IfcProjectedCRS+IfcMapConversion(IFC4X3:IfcMapConversionScaledwhen FactorX/Y/Z are given); IFC2X3 writes theePSet_MapConversion/ePSet_ProjectedCRSproperty sets the readers already understand. Writes are held in the session and land in the file with the nextbim.export.ifc().Writes fail closed and throw a
GeoreferencingErrornaming the missing input: no CRS, map unit, scale or factor is ever assumed; a model without a representation context (IFC2X3: without an IfcSite) is refused; an existing georeferencing is replaced only withreplace: true; and values that would contradict each other (an angle and a vector that disagree, a CRS renamed while keeping the old datum) are refused.Needs direct store access: the headless CLI and MCP contexts implement it; other backends throw.
Example