Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/common/src/lib/operators/operator.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export interface RelativeTimeShiftDictParams extends OperatorParams {
export interface InterpolationDict extends OperatorDict {
type: 'Interpolation';
params: {
interpolation: 'nearestNeighbor' | 'bilinear';
interpolation: 'nearestNeighbor' | 'biLinear';
outputResolution: OutputResolutionDict;
outputOriginReference?: Coordinate2DDict;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</a>

<ng-container operatorParameters>
<p>Specify handling of band names:</p>
<p>Specify handling of band name collisions:</p>
<mat-button-toggle-group id="rename-type" [multiple]="false" formControlName="renameBands" (ngModelChange)="updateRenameType()">
<mat-button-toggle [value]="RenameBands.Default">Default</mat-button-toggle>
<mat-button-toggle [value]="RenameBands.Suffix">Suffix</mat-button-toggle>
Expand All @@ -29,7 +29,7 @@

@if (form.controls.renameBands.value !== RenameBands.Default) {
<div formArrayName="renameValues">
@for (control of renameValues.controls; track control; let i = $index) {
@for (control of renameValues.controls; track $index; let i = $index) {
<mat-form-field>
<mat-label>{{ renameHint(i) }} </mat-label>
<input matInput type="text" [formControlName]="i" />
Expand All @@ -42,17 +42,47 @@
}

<p>
If the input rasters have different datatypes, you must select one common datatype the rasters are converted to before
stacking.
If the input rasters have different <i>data types</i>, you must select one common data type the rasters are converted to
before stacking.
</p>
<mat-form-field>
<mat-label>Data Type</mat-label>
<mat-select formControlName="dataType">
@for (dataType of outputDataTypes$ | async; track dataType[0]) {
@for (dataType of outputDataTypes(); track $index) {
<mat-option [value]="dataType[0]"> {{ dataType[0] }} {{ dataType[1] }} </mat-option>
}
</mat-select>
</mat-form-field>

@if (outputSpatialReferences().length > 1) {
<p>
If the input rasters have different <i>spatial references</i>, you must select one common spatial reference the rasters
are converted to before stacking.
</p>
<mat-form-field>
<mat-label>Spatial Reference</mat-label>
<mat-select formControlName="spatialReference">
@for (spatialReference of outputSpatialReferences(); track $index) {
<mat-option [value]="spatialReference[0]"> {{ spatialReference[0] }} {{ spatialReference[1] }} </mat-option>
}
</mat-select>
</mat-form-field>
}

@if (outputRegrids().length > 1) {
<p>
If the input rasters have different <i>spatial grids</i>, you must select one common spatial grid the rasters are
converted to before stacking.
</p>
<mat-form-field>
<mat-label>Spatial Grid</mat-label>
<mat-select formControlName="regrid">
@for (regrid of outputRegrids(); track $index) {
<mat-option [value]="regrid[0]"> {{ regridToString(regrid[0]) }} {{ regrid[1] }} </mat-option>
}
</mat-select>
</mat-form-field>
}
</ng-container>

<ng-container layerSpecification>
Expand Down
Loading