com.supermap.distributeanalystservices
Class DensityAnalystOnline
- java.lang.Object
-
- com.supermap.distributeanalystservices.DistributeAnalyst
-
- com.supermap.distributeanalystservices.DensityAnalystOnline
-
public class DensityAnalystOnline extends DistributeAnalyst
Density analyst class
-
-
Constructor Summary
Constructors Constructor and Description DensityAnalystOnline()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
execute()
run analyst.void
setAnalystMethod(int method)
Sets analyst method of density analysis.void
setAreaUnit(java.lang.String areaUnit)
Sets area unit.void
setBounds(Rectangle2D bounds)
sets analyst range.void
setDatasetSource(java.lang.String datasetName)
set imported source dataset (required).void
setMeshSizeUnit(java.lang.String meshSizeUnit)
Sets mesh size unit.void
setMeshType(int meshType)
Sets mesh type.void
setRadius(double radius)
Sets point radius of density map.void
setRadiusUnit(java.lang.String radiusUnit)
Set search radius unit.void
setResolution(double resolution)
Sets mesh size.void
setWeight(java.lang.String weight)
Sets weight.-
Methods inherited from class com.supermap.distributeanalystservices.DistributeAnalyst
addListener, login
-
-
-
-
Method Detail
-
setAreaUnit
public void setAreaUnit(java.lang.String areaUnit)
Sets area unit.area unit: SquareMile (the default), SquareMeter, SquareKiloMeter, Hectare, Are, Acre, SquareFoot, SquareYard
- Parameters:
areaUnit
- area unit.
-
setMeshSizeUnit
public void setMeshSizeUnit(java.lang.String meshSizeUnit)
Sets mesh size unit.mesh size unit: Meter (the default), Kilometer, Yard, Foot, Mile
- Parameters:
meshSizeUnit
- mesh size unit.
-
setRadiusUnit
public void setRadiusUnit(java.lang.String radiusUnit)
Set search radius unit.search radius unit: Meter (the default), Kilometer, Yard, Foot, Mile
- Parameters:
radiusUnit
- search radius unit.
-
setResolution
public void setResolution(double resolution)
Sets mesh size.- Parameters:
resolution
- mesh size
-
setRadius
public void setRadius(double radius)
Sets point radius of density map.- Parameters:
radius
- point radius of density map.
-
setWeight
public void setWeight(java.lang.String weight)
Sets weight.- Parameters:
weight
- weight.
-
setMeshType
public void setMeshType(int meshType)
Sets mesh type. *Mesh face types support quadrilateral meshes and hexagonal meshes. 0: quadrilateral meshes, 1: hexagonal meshes
- Parameters:
meshType
- mesh type.
-
setAnalystMethod
public void setAnalystMethod(int method)
Sets analyst method of density analysis.analysis method: 0: simple point density analysis, 1: center density analysis.
- Parameters:
method
- analysis method.
-
execute
public void execute()
run analyst.- Overrides:
execute
in classDistributeAnalyst
-
setDatasetSource
public void setDatasetSource(java.lang.String datasetName)
set imported source dataset (required).- Parameters:
datasetName
- source dataset name.
-
setBounds
public void setBounds(Rectangle2D bounds)
sets analyst range.- Parameters:
bounds
- cache range
-
-