Class: InterpolationRBFAnalystParameters

SuperMap.InterpolationRBFAnalystParameters

Spline interpolation (radial basis function interpolation method) analysis parameter class.

new SuperMap.InterpolationRBFAnalystParameters(options)

InterpolationRBFAnalystParameters.js, line 5
Name Type Description
options Object

The parameters.

Name Type Default Description
bounds SuperMap.Bounds | L.Bounds | ol.extent

The range of the interpolation analysis which is used to determine the range of the result raster dataset

searchMode string

The search mode for interpolating includes fixed point number, fixed length search and block search.

outputDatasetName string

The name of the interpolation analysis result dataset.

outputDatasourceName string

The name of the result datasource in the interpolation analysis.

zValueFieldName string optional

Stores the field name whose value is used in the interpolation analysis.The field of text type is not supported by interpolation analysis. When the interpolation analysis type (InterpolationAnalystType) is dataset, it is a required parameter.

smooth number 0.1 optional

Smooth coefficient denotes the approximation degree between interpolated function curve and point, whose value domain is [0,1].

tension number 40 optional

Tension coefficient is used to adjust the surface characteristics of the result raster data.

expectedCount number 12 optional

[Fixed Point Number Search] Sets the number of the points to be looked up. [Fixed length Search] sets the minimum number of the points to be looked up.

searchRadius number 0 optional

[Fixed Length Search] Sets the search scope of points in the operation.

maxPointCountForInterpolation number 200 optional

Sets the maximum count of interpolation points in block.

maxPointCountInNode number 50 optional

[Block] Sets the maximum count of points involved in the operation within a single block.

zValueScale number 1 optional

The zoom scale of the value to be interpolated.

resolution number optional

The resolution of the raster dataset of the interpolation result, the actual distance denoted by a cell, has the same unit with that of the point dataset.

filterQueryParameter SuperMap.FilterParameter optional

Attribute filter criteria.

pixelFormat string optional

Specifies the pixel format of the output grid dataset.

dataset string optional

The name of the dataset in the datasource for interpolation analysis. This identifier is the format "dataset name@datasource alias". When the InterpolationAnalystType is dataset, it is required.

inputPoints Array.<(SuperMap.Geometry.Point|L.LatLng|L.Point|ol.geom.Point)> optional

The discrete point set used in the interpolation analysis. When the InterpolationAnalystType is geometry, it is required.

Example
var myInterpolationRBFAnalystParameters = new SuperMap.InterpolationRBFAnalystParameters({
    dataset:"SamplesP@Interpolation",
    smooth: 0.1,
    tension: 40,
    searchMode: "QUADTREE",
    maxPointCountForInterpolation: 20,
    maxPointCountInNode: 5,
    pixelFormat: "BIT16",
    zValueFieldName: "AVG_TMP",
    resolution: 3000,
    filterQueryParameter: {
        attributeFilter: ""
    },
    outputDatasetName: "myRBF"
});

Extends

Members

boundsSuperMap.Bounds L.Bounds ol.extent

The range of the interpolation analysis which is used to determine the range of the result raster dataset. If default, then it is the range of the source dataset. Since this is a method of interpolation, the parameter is better less than or equal to the range of the source dataset.

clipParamObject

The parameter to clip the interpolation analysis result.

datasetstring

The name of the dataset in the datasource for interpolation analysis. This identifier is the format "dataset name@datasource alias".
When the InterpolationAnalystType is dataset, it is required.

expectedCountnumber

[Fixed Point Number Search] Sets the number of the points to be looked up, i.e., the point number involved in the difference operation.

Default Value:
12

filterQueryParameterSuperMap.FilterParameter

The property filter condition.The default is null, meaning analysis all points in the dataset

inputPointsArray.<(SuperMap.Geometry.Point|L.LatLng|L.Point|ol.geom.Point)>

he discrete point (Z values included) set used in the interpolation analysis. When the InterpolationAnalystType is geometry, it is required. There is no need to specify the datasets inputDatasourceName, inputDatasetName and zValueFieldName through discrete data interpolation analysis.

InterpolationAnalystTypestring

InterpolationAnalystType. The interpolation contains dataset interpolation and the geometry interpolation. "dataset" represents the dataset interpolation; "geometry" represents discrete data interpolation. Default value is "dataset".

Default Value:
"dataset"

maxPointCountForInterpolationnumber

[Block] The maximum count of interpolation points.

Default Value:
200

maxPointCountInNodenumber

[Block] The maximum count of points involved in the operation within a single block.

Default Value:
50

outputDatasetNamestring

The name of the interpolation analysis result dataset.

outputDatasourceNamestring

The name of the interpolation analysis result datasource.

Specifies the pixel format of the output grid dataset. The supported pixel format is: BIT16, BIT32, DOUBLE, SINGLE, UBIT1, UBIT4, UBIT8, UBIT24, and UBIT32.

resolutionnumber

The resolution of the raster dataset of the interpolation result, the actual distance denoted by a cell, has the same unit with that of the point dataset. This value cannot be larger than the length of the bounds to be analyzed. The setting of this value should depend on the dataset extent. If the value of the cell (result_dataset_extent/resolution) is less than 500, this value will better show the trend of the density.

The search mode for interpolating includes fixed point number, fixed length search and block search. Required. Details as follows: {KDTREE_FIXED_COUNT} finds points involved in the interpolation analysis with the KDTREE fixed point number way. {KDTREE_FIXED_RADIUS} finds points involved in the interpolation analysis with the KDTREE fixed length way. {QUADTREE} finds points involved in interpolation analysis (block search) with the QUADTREE method.

searchRadiusnumber

Search radius is the search scope of points in the operation, whose unit is identical to that of the point dataset. When calculating the Z value of a location (the default value is 0), the sampling points within the range whose radius is the value of the search extent will involve in the operation. Users need to set this value according to the distribution of points to be interpolated and the extent of the dataset.

smoothnumber

Smooth coefficient denotes the approximation degree between interpolated function curve and point, whose value domain is [0,1]. The common value is 0, 0.001, 0.1 and 0.5.

Default Value:
0.1

tensionnumber

Tension coefficient. the common value is 0, 1, 5 and 10. This parameter is used to modify the surface feature of result raster data.The greater the tension, the smaller each point influences the result.

Default Value:
40

zValueFieldNamestring

In the dataset interpolation analysis, The field name whose value is used in the interpolation analysis. The field of text type is not supported by interpolation analysis. It refers to the weight of each sampling point. You can set all of this field value to 1. In this case, all points have the same weight. When the InterpolationAnalystType is dataset, required.

zValueScalenumber

The zoom scale of the value to be interpolated whose default value is 1. Specifies the zoom scale of the value to be interpolated.

Default Value:
1

Methods

SuperMap.InterpolationRBFAnalystParameters.toObject(datasetInterpolationRBFAnalystParameters, tempObj)

InterpolationRBFAnalystParameters.js, line 113

Transform the InterpolationRBFAnalystParameters to JSON.

Name Type Description
datasetInterpolationRBFAnalystParameters SuperMap.InterpolationRBFAnalystParameters

The InterpolationRBFAnalystParameters class.

tempObj SuperMap.InterpolationRBFAnalystParameters

The InterpolationRBFAnalystParameters.

Returns:
The JSON object.

destroy()

InterpolationRBFAnalystParameters.js, line 98

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