User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_statisticsabstract.calculate_tgis_extent_tgis_shapeabstract_string_boolean

Table of Contents

TGIS_StatisticsAbstract.Calculate(TGIS_Extent, TGIS_ShapeAbstract, java.lang.String, bool) method

DK11 for Java | tatukgis.jdk.TGIS_StatisticsAbstract.Calculate | Overloads | Methods | Properties

Calculate requested statistics from filtered elements of the layer.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public void Calculate(
  TGIS_Extent _extent,
  TGIS_ShapeAbstract _shape,
  java.lang.String _de9im,
  bool _fast_statistics
);
// Oxygene
public
  procedure Calculate(
    _extent : TGIS_Extent;
    _shape : TGIS_ShapeAbstract;
    _de9im : String;
    _fast_statistics : Boolean
  ); virtual;

Parameters

Name Type Description
_extent TGIS_Extent extent on which statistics will be calculated
_shape TGIS_ShapeAbstract if not nil, statistics will be calculated on area which matches _de9im matrix with _shape
_de9im java.lang.String
String
DE-9IM matrix of comparison
_fast_statistics bool
Boolean
if True, 'Fast Statistics' will be computed

Remarks

'Fast Statistics' means that statistics class uses resampling for pixel layers greater than 2048 x 2048 cells . In this case results are approximate with high accuracy. Set False to compute fully accurate statistics. 'Fast Statistics' has no effects for vector layers.

References

2020/05/07 01:14

Page Tools