Interface ImportProvenance

Where a loaded model came from. The ImportDialog records one of these against the model's id after a successful load so the ModelsPanel can surface "loaded via …" details.

interface ImportProvenance {
    coordinateSystem?: CoordinateSystemParams;
    dataSetId: string;
    dataSetLabel: string;
    fileNames: string[];
}

Properties

coordinateSystem?: CoordinateSystemParams

Coordinate system applied at load, when the user overrode it.

dataSetId: string

ImportDataSet.id the user picked.

dataSetLabel: string

ImportDataSet.label — preserved as written when the load happened.

fileNames: string[]

Filenames the user supplied, in ImportDataSet.files order.