Class: MathExpressionAnalysisParameters

SuperMap.MathExpressionAnalysisParameters

The raster algebraic calculation parameter class.

new SuperMap.MathExpressionAnalysisParameters(options)

MathExpressionAnalysisParameters.js, line 4
Name Type Description
options Object

The parameters.

Name Type Default Description
dataset string

The name of the dataset in the datasource for raster algebraic calculation, the name uses the format "dataset name@datasource alias". For example: Country@World.

expression string

The specified algebraic calculation expression, e.g., ”[DatasourceAlias1.Raster1]*2-10”.

targetDatasource string

The specified datasource name which the result dataset is stored in.

resultGridName string

The specified name of the result dataset.

extractRegion SuperMap.Geometry.Polygon | L.Polygon | ol.geom.Polygon optional

The range in the calculation, that is, the area which will be processed in the calculation.

isZip boolean false optional

Whether to compress the result dataset.

ignoreNoValue boolean false optional

Whether to ignore no value raster data, true means to ignore, and the no value dataset will not be processed.

deleteExistResultDataset boolean false optional

Whether to delete the existing dataset if the specified result dataset name is identical to the name of an existing dataset.

Members

datasetstring

The name of the dataset in the datasource for raster algebraic calculation. The name uses the format "dataset name@datasource alias". For example: Country@World.

deleteExistResultDatasetboolean

Whether to delete the existing dataset if the specified result dataset name is identical to the name of an existing dataset.

expressionstring

The specified algebraic calculation expression, e.g., ”[DatasourceAlias1.Raster1]*2-10”.

extractRegionSuperMap.Geometry.Polygon L.Polygon ol.geom.Polygon

he range in the calculation, that is, the area which will be processed in the calculation. The default is the complete range in the dataset.
If the ranges of the datasets used in the calculation are different, it will be the intersected part of them.

ignoreNoValueboolean

Whether to ignore the dataset which doesn't have values.

isZipboolean

Whether to compress the result dataset.

resultGridNamestring

The specified name of the result dataset.

targetDatasourcestring

The specified datasource name which the result dataset is stored in.

Methods

SuperMap.MathExpressionAnalysisParameters.toObject(mathExpressionAnalysisParameters, tempObj)

MathExpressionAnalysisParameters.js, line 97

Get the grid algebra operation object.

Name Type Description
mathExpressionAnalysisParameters Object

The MathExpressionAnalysisParameters class

tempObj Object

The target object.

destroy()

MathExpressionAnalysisParameters.js, line 81

Disposes the resource. The property that references resource is set to null.