Warp

ERDAS IMAGINE Help

HGD_Variant
16.5.1
HGD_Product
ERDAS IMAGINE
HGD_Portfolio_Suite
Producer

Category: Data Generation

Default

Show All Ports

warpoperator

warpallports_operator

Description

This operator takes a Raster input and, using the specified ResampleMethod and approximation parameters, resamples the raster to a combination of the Grid/Cell Size, Window, and Projection Processing Properties of the model and any additional transformation (scale, rotation, reprojection, and so forth) requested by the output. The resulting Raster is set on the RasterOut port.

The ResampleMethod port determines the resampling method used, and is Nearest Neighbor by default.

For more details on resampling methods, see Resampling Methods in Producer Field Guide.

The AllowApproximation port determines if polynomial approximation is used, if true, or not, if false. This uses polynomials to approximate the transformation of the Raster. By default, this port is set to true.

If the AllowApproximation port is true, then the AppromationMaxOrder port is used to determine the the maximum polynomial order allow, 0 to 3. The higher this order, the longer the computation.By default, this port is set to 3.

For more details on polynomial order, see Polynomial Transformation in Producer Field Guide.

warpallports_operator

The CoordinateOperationIn port takes in a referencing coordinate operation, which you can create from the Associate DEM operator, for use with the Raster object. A coordinate operation is the necessary information used to transform point from one coordinate reference system, CRS, to another.

The CoordinateOperationOut port has the coordinate operation that was used with the input Raster set on it.

The UsePyramids port specifies whether to warp from pyramid layers if available. When set to false, the input raster stream will be read at a pixel resolution of 1:1.

If the Warp operator is used in the Expression operator, the output value will be the data on the RasterOut port.

Connections

Name

Objects Supported

Required

Shown by Default

Default Value

RasterIn

Raster

checkmark_gray

checkmark_gray

ResampleMethod

InterpolationType

checkmark_gray

checkmark_gray

Nearest Neighbor

AllowApproximation

Bool

checkmark_gray

checkmark_gray

True

ApproximationTolerance

Double

checkmark_gray

checkmark_gray

0.1

ApproximationMaxOrder

Int

checkmark_gray

checkmark_gray

3

ApproximationGridSize

Int

checkmark_gray

checkmark_gray

16

CoordinateOperationIn

CoordinateOperation

The coordinate operation on the input raster.

UsePyramids

Bool

checkmark_gray

true

RasterOut

Raster

checkmark_gray

CoordinateOperationOut

CoordinateOperation

Syntax

Warp ( <RasterIn>, <ResampleMethod>, <AllowApproximation>, <ApproximationTolerance>, <ApproximationMaxOrder>, <ApproximationGridSize>, <UsePyramids>[, CoordinateOperationIn=<CoordinateOperationIn>] )

Warp ( <RasterIn>, <ResampleMethod>, <AllowApproximation>, <ApproximationTolerance>, <ApproximationMaxOrder>, <ApproximationGridSize>[, CoordinateOperationIn=<CoordinateOperationIn>] )