Class: SummaryMeshJobParameter

mapboxgl.supermap.SummaryMeshJobParameter

The SummaryMeshJobParameter class.

new mapboxgl.supermapSummaryMeshJobParameter(options)

SummaryMeshJobParameter.js, line 10
Name Type Description
options Object

The parameters.

Name Type Default Description
datasetName string

The name of the dataset.

query mapboxgl.supermapBounds | L.Bounds | ol.extent

The query bounds.

resolution number 100 optional

The resolution

statisticModes mapboxgl.supermapStatisticAnalystMode mapboxgl.supermapStatisticAnalystMode.AVERAGE optional

The StatisticAnalystMode.

meshType number 0 optional

The mesh type.

fields number

The index of the weight

type mapboxgl.supermapSummaryType mapboxgl.supermapSummaryType.SUMMARYMESH optional

The SummaryType.

output mapboxgl.supermapOutputSetting optional

Output parameter setting class.

mappingParameters mapboxgl.supermapMappingParameters optional

The parameter class for visualizing the results after analysis.

Members

datasetNamestring

The name of the dataset.

fieldsnumber

The fields of weight

The parameter class for visualizing the results after analysis.

meshTypenumber

The mesh type (It's valid when mesh type is by grid surface),The value is 0 or 1.

Output parameter setting class.

The query bounds(It's valid when mesh type is by grid surface).The bounds type could be the mapboxgl.supermapBounds、the L.Bounds and the ol.extent。

regionDatasetstring

Dataset of the region.(It's valid when mesh type is by polygons).

resolutionnumber

The resolution(It's valid when mesh type is by grid surface)。

Default Value:
100

The mapboxgl.supermapStatisticAnalystMode

Default Value:
mapboxgl.supermapStatisticAnalystMode.AVERAGE

The mapboxgl.supermapSummaryType

Default Value:
mapboxgl.supermapSummaryType.SUMMARYMESH

Methods

static destroy()

SummaryMeshJobParameter.js, line 97

static toObject(summaryMeshJobParameter, tempObj)

SummaryMeshJobParameter.js, line 120

The summaryMeshJobParameter object .

Name Type Description
summaryMeshJobParameter Object

The summaryMeshJobParameter class.

tempObj Object

The target object.