Class: DensityKernelAnalystParameters

SuperMap.DensityKernelAnalystParameters

The DensityKernelAnalystParameters class.

new SuperMap.DensityKernelAnalystParameters(options)

DensityKernelAnalystParameters.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 Kernel density analysis. This identifier is the format "dataset name@datasource alias". For example: Railway@Changchun.

fieldName string

Name field used to process kernel density analysis measure value, kernel density analysis do not support text type field, required field.

resultGridName string

The specified name of the result dataset.

bounds SuperMap.Bounds | L.Bounds | ol.extent optional

Density kernel analysis area, used to confirm the results of raster dataset extent. If as default, then default as origenal dataset extent.

searchRadius number optional

raster neighbour range used to calculate denstiy serch radius, unit as current dataset. default value as current dataset's minimum value of length and width divide 30.

resultGridDatasetResolution number optional

Density analysis result resolution of raster data, unit as same as current dataset. default value as current dataset's minimum value of length and width divide 500.

targetDatasource string optional

Set datasource of stored results dataset, default as datasource of current analysis dataset.

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. It is false by default, which means not to delete.

Members

boundsSuperMap.Bounds L.Bounds ol.extent

Density kernel analysis area, used to confirm the results of raster dataset extent.
If as default, then default as origenal dataset extent.

datasetstring

The name of the dataset in the datasource for Kernel density analysis. This identifier is the format "dataset name@datasource alias". For example: Railway@Changchun. The required field. Note: Kernel density analysis support point dataset and line dataset.

deleteExistResultDatasetboolean

Whether to delete the existing dataset if the specified result dataset name is identical to the name of an existing dataset. It is false by default, which means not to delete.

fieldNamestring

Name field used to process kernel density analysis measure value, kernel density analysis do not support text type field.

resultGridDatasetResolutionnumber

Density analysis result resolution of raster data, unit as same as current dataset. default value as current dataset's minimum value of length and width divide 500.

resultGridNamestring

The specified name of the result dataset. The required field.

searchRadiusnumber

raster neighbour range used to calculate denstiy serch radius, unit as current dataset. default value as current dataset's minimum value of length and width divide 30.

targetDatasourcestring

Set datasource of stored results dataset, default as datasource of current analysis dataset.

Methods

SuperMap.DensityKernelAnalystParameters.toObject(densityKernelAnalystParameters, tempObj)

DensityKernelAnalystParameters.js, line 96

Transform the DensityKernelAnalystParameters to JSON.

Name Type Description
densityKernelAnalystParameters SuperMap.DensityKernelAnalystParameters

The DensityKernelAnalystParameters class.

tempObj SuperMap.DensityKernelAnalystParameters

The DensityKernelAnalystParameters.

Returns:
The JSON object.

destroy()

DensityKernelAnalystParameters.js, line 79

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