new SuperMap.SurfaceAnalystParametersSetting(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
clipRegionSuperMap.Geometry.Polygon L.Polygon ol.geom.Polygon
-
Gets or sets the clip surface object. If you do not need to clip the operation result, you can use the null value to replace the parameter.
-
datumValuenumber
-
Gets or sets the fiducial value for isoline and isoregion extraction in surface analysis. The fiducial value is a starting value when generating an isoline. It is not necessary equal to the smallest isoline value. When setting the base value, the user needs to refer to the maximum and minimum values of the field for extraction. For example, in DEM raster data, the elevation ranges from 220 to 1550. If you set the benchmark value as 0, the contour interval as 50, it will extract the isoline according to the setting that the benchmark value of 0 as a starting point, contour interval as 50 when extracting the isoline. Because the given minimum elevation is 220, the isoline extraction within a given minimum elevation is 250. Isoline extraction result is: the smallest isoline value is 250, and the maximum isoline value is 1550.
-
expectedZValuesArray.<number>
-
Gets or sets the expected analysis result of the z value set. Z value set stores a series of numerical values, which is to extract the isoline values. That is only the height value of the isoline in the z value set will be extracted.
-
intervalnumber
-
Gets or sets the contour Interval. The contour interval is the equivalent distance between the two isolines.
-
resampleTolerancenumber
-
Gets or sets the sampling tolerance. The greater the tolerance value is, the more simplified the sample result data are. When there is a cross in the analysis result, you can adjust the sampling tolerance to a small value.
-
smoothMethodSuperMap.SmoothMethod
-
Gets or sets the method used for smoothing.
- Default Value: SuperMap.SmoothMethod.BSPLINE
smoothnessnumber
Gets or sets the smoothness of the isolines and isoregion in surface analysis. Value from 0 to 5, for example, 0 represents no smooth operation, and the bigger value indicates the greater smoothness. With the increase in smoothness, the extracted isolines are smoother. It will require more calculating time and memory when the smoothness is greater. When the contour interval is small, strong smoothness will lead to isolines intersect.
Methods
-
destroy()
SurfaceAnalystParametersSetting.js, line 81 -
Disposes the resource. The property that references resource is set to null.
-
toJSON(){string}
SurfaceAnalystParametersSetting.js, line 99 -
Convert the object to a JSON string.
Returns:
Type Description string The object JSON string.