com.supermap.distributeanalystservices
Class SummaryRegionOnline
- java.lang.Object
-
- com.supermap.distributeanalystservices.DistributeAnalyst
-
- com.supermap.distributeanalystservices.SummaryRegionOnline
-
public class SummaryRegionOnline extends DistributeAnalyst
online region summary
-
-
Constructor Summary
Constructors Constructor and Description SummaryRegionOnline()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
execute()
run analystvoid
setBounds(Rectangle2D bounds)
sets analyst range.void
setDatasetSource(java.lang.String datasetName)
set imported source dataset (required).void
setLengthOrArea(boolean lengthOrArea)
Sets whether count length or area true means do, false means do notvoid
setMeshSizeUnit(java.lang.String meshSizeUnit)
Sets mesh unit mesh size unit: Meter (the default), Kilometer, Yard, Foot, Milevoid
setMeshType(int meshType)
Sets mesh type 0: Quadrilateral grid, 1: hexagonal gridvoid
setNumericPrecision(int numericPrecision)
Sets numeric precisionvoid
setRegionDataset(java.lang.String regionDataset)
Sets the summary dataset when the summary type is polygon summaryvoid
setResolution(int resolution)
Sets mesh size.void
setStandardFields(java.lang.String fieldsName, java.lang.String statisticModes)
Sets standard property field count statistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviationvoid
setSummaryType(java.lang.String summaryType)
Sets the summary type SUMMARYMESH, SUMMARYREGIONvoid
setWeightedFields(java.lang.String fieldsName, java.lang.String statisticModes)
Sets weight field statistic statistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation-
Methods inherited from class com.supermap.distributeanalystservices.DistributeAnalyst
addListener, login
-
-
-
-
Method Detail
-
setDatasetSource
public void setDatasetSource(java.lang.String datasetName)
set imported source dataset (required).- Parameters:
datasetName
- The source dataset name.
-
setBounds
public void setBounds(Rectangle2D bounds)
sets analyst range.- Parameters:
bounds
- cache bound.
-
setNumericPrecision
public void setNumericPrecision(int numericPrecision)
Sets numeric precision- Parameters:
numericPrecision
- numeric precision
-
setRegionDataset
public void setRegionDataset(java.lang.String regionDataset)
Sets the summary dataset when the summary type is polygon summary- Parameters:
regionDataset
- summary dataset
-
setSummaryType
public void setSummaryType(java.lang.String summaryType)
Sets the summary typeSUMMARYMESH, SUMMARYREGION
- Parameters:
summaryType
- summary type
-
setMeshType
public void setMeshType(int meshType)
Sets mesh type0: Quadrilateral grid, 1: hexagonal grid
- Parameters:
meshType
- mesh type.
-
setMeshSizeUnit
public void setMeshSizeUnit(java.lang.String meshSizeUnit)
Sets mesh unitmesh size unit: Meter (the default), Kilometer, Yard, Foot, Mile
- Parameters:
meshSizeUnit
- mesh size unit
-
setResolution
public void setResolution(int resolution)
Sets mesh size.- Parameters:
resolution
- mesh size
-
setLengthOrArea
public void setLengthOrArea(boolean lengthOrArea)
Sets whether count length or areatrue means do, false means do not
- Parameters:
lengthOrArea
- whether count length or area
-
setStandardFields
public void setStandardFields(java.lang.String fieldsName, java.lang.String statisticModes)
Sets standard property field countstatistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation
- Parameters:
fieldsName
- field namestatisticModes
- statictis mode
-
setWeightedFields
public void setWeightedFields(java.lang.String fieldsName, java.lang.String statisticModes)
Sets weight field statisticstatistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation
- Parameters:
fieldsName
- field namestatisticModes
- statictis mode
-
execute
public void execute()
Description copied from class:DistributeAnalyst
run analyst- Overrides:
execute
in classDistributeAnalyst
-
-