Class: VectorClipJobsParameter

VectorClipJobsParameter

矢量裁剪分析任务参数类。此类用于设置矢量裁剪分析的数据集、裁剪分析模式、裁剪几何对象等参数, 还可以对分析结果的输出参数、可视化参数进行一系列设置。

new VectorClipJobsParameter(options)

Usage
import { VectorClipJobsParameter } from '@supermapgis/iclient-leaflet';

new VectorClipJobsParameter(options);
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
  new L.supermap.VectorClipJobsParameter({paramsNames});
  // 弃用的写法
  new SuperMap.VectorClipJobsParameter(options);
</script>
common/iServer/VectorClipJobsParameter.js, line 9
Name Type Description
options Object

参数。

Name Type Default Description
datasetName string

待裁剪数据集的名称。

datasetVectorClip string

当采用数据集进行裁剪时,需指定用于裁剪的裁剪对象数据集,仅支持面数据集,若数据集中有多个对象时,默认选择第一个对象。

mode ClipAnalystMode ClipAnalystMode.CLIP 可选

裁剪分析模式,包含 CLIP 内部裁剪,INTERSECT 外部裁剪。

geometryClip string 可选

当采用几何对象进行裁剪时,需指定用于裁剪的几何对象。

output OutputSetting 可选

输出参数设置。

mappingParameters MappingParameters 可选

分析后结果可视化的参数类。

API Relations

As method parameter: ProcessingService.addVectorClipJob.

Members

datasetNamestring

待裁剪数据集的名称。

datasetVectorClipstring

当采用数据集进行裁剪时,需指定用于裁剪的裁剪对象数据集,仅支持面数据集,若数据集中有多个对象时,默认选择第一个对象。

geometryClipstring

当采用几何对象进行裁剪时,需指定用于裁剪的几何对象。

mappingParametersMappingParameters

分析后结果可视化的参数类。

裁剪分析模式,包含 CLIP 内部裁剪,INTERSECT 外部裁剪。

Default Value:
ClipAnalystMode.CLIP

输出参数设置类。

Methods

static toObject(vectorClipJobsParameter, tempObj)

common/iServer/VectorClipJobsParameter.js, line 89

矢量裁剪分析任务对象。

Name Type Description
vectorClipJobsParameter Object

矢量裁剪分析服务参数。

tempObj Object

目标对象。

destroy()

common/iServer/VectorClipJobsParameter.js, line 70

释放资源,将引用资源的属性置空。