IFClite TypeScript API
    Preparing search index...

    Interface LandXmlTerrainExportOptions

    How the document is written (#7618); every field is optional.

    interface LandXmlTerrainExportOptions {
        decimals?: number;
        linearUnit?: "metre" | "internationalFoot" | "usSurveyFoot";
        now?: Date;
        surfaceNames?: Readonly<Record<number, string>>;
    }
    Index
    decimals?: number

    Decimal places in the written unit, 0 to 9. Default 6.

    linearUnit?: "metre" | "internationalFoot" | "usSurveyFoot"

    Default 'metre'. 'usSurveyFoot' writes elevations in international feet: LandXML 1.2 has no US-survey-foot elevation unit, and both units are declared in <Units>.

    now?: Date

    Header stamp (LandXML@date / @time, written in UTC). Default now.

    surfaceNames?: Readonly<Record<number, string>>

    Surface@name per product express id; a blank name keeps the IFC name.